File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,42 @@ sudo: false
44
55dist : trusty
66
7+ branches :
8+ only :
9+ - master
10+
711git :
812 depth : 5
913
1014php :
1115 - 5.6
1216 - 7.0
1317 - 7.1
18+ - 7.2
1419 - hhvm
1520 - nightly
1621
1722matrix :
1823 fast_finish : true
24+ include :
25+ - php : 7.1
26+ env : PHPCS=PSR2
27+
1928 allow_failures :
2029 - php : nightly
2130
2231before_script :
23- - composer self-update
24- - composer install
32+ - export PATH="./vendor/bin:$PATH"
33+ - travis_retry composer self-update
34+ - travis_retry composer install --no-interaction --prefer-source --dev
2535
2636script :
27- - composer test
37+ - phpunit
38+ - |
39+ if [[ "$PHPCS" ]] ; then
40+ phpcs --standard=phpcs.ruleset.xml $(find . -name '*.php')
41+ fi
42+ phpunit --coverage-clover=coverage.xml
43+
44+ after_success :
45+ - bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments