forked from cypht-org/cypht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 1.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#dist: trusty
sudo: required
language: php
# only run on master
branches:
only:
- master
# php versions
php:
#- '5.4'
#- '5.5'
#- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
# start dbs
services:
- mysql
- postgresql
# run the phpunit tests, then the selenium tests
script: sh .travis/run.sh
# the unit tests need a DB setup, the selenium tests do not
env:
- DB=mysql
- DB=postgresql
- DB=sqlite
# install and configure everything
before_install:
- sh .travis/setup.sh
# dump some useful info to the logs
after_script:
- sudo cat /var/log/apache2/error.log; sudo cat /var/log/mail.log
# unit test coverage reporting
after_success:
- if [ "$TRAVIS_PHP_VERSION" = "7.1" ] && [ "$DB" = "mysql" ]; then php coveralls.phar -v; fi
# use browserstack
addons:
hosts:
- cypht-test.org
browserstack:
username: "jasonmunro1"
access_key:
secure: "qi6SxOjPA9YQCmKS2ibDw+QmOE50Kr4DrtjN9PKORVwRQRJy/hjtVe6FsSEonPyl6jVfKRVTpe9kNe/LBsuLENM5Ro2L3dnBmlC6vBoBC6zV8gPYi1dJai3edhlejR8l5zjSwdEs2pMeODabCbbVir2Cg7Wv8ugiV6S4FjK87Yp4UPgpcuBZQHi6pavg51KXvF4NZcX9rg/BJuCkxHhrgNKT+eZWIiMsRc3gJASxXA5qRNVAb3BqEszS/1rwOLemJ8YvIxqB5tU9TEJ1QbaQGxKUv7SLPUTcAwDg2BWt11nqXtFfERfF/SHG/upFVLV2umr2UZMbruTfyH2K9HPB+DdRQUDkoO+s9X6sby53MP9ofsnQDd1+WrZHYU6Tg6Kcy5PyjMIeioptIKo/Z95Xo1vkgPLfPmLOmKDu5g/nlARHObQkrdUFFk9q7mNZ8ihYpbryG4c9CsuPXSOYybIsHUFNWJ9wJECUVBqkXgBYwf3B5FPjA0CamHpmXrAw+NMO0SVZP/t+xOCZ8NNxrUO1sUuPmilRGfCZsFVnoLO3JQ7ktA/diisPoCGb8HCu6zu7G8fl2egnENDbRxPcCjhZAJxr4J3pEr4P8hrsvYT0WrmlEDfFnaifQnXXGBsv36NocB2aQRxT32qO36jJUnAeZkwotdtVFpquvOe9ZBd33Bs="
forcelocal: true