File tree Expand file tree Collapse file tree 2 files changed +20
-10
lines changed
Expand file tree Collapse file tree 2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- - 5.6
5- - 7.0
6- - 7.1
7- - 7.2
3+ matrix :
4+ include :
5+ - php : 5.6
6+ - php : 5.6
7+ env : COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
8+ - php : 7.0
9+ env : COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
10+ - php : 7.1
11+ - php : 7.1
12+ env : COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
13+ env : COVERAGE='--coverage-clover build/logs/clover.xml'
14+ - php : 7.2
15+ - php : 7.2
16+ env : COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
17+ fast_finish : true
818
919sudo : false
1020
1121before_script :
12- - travis_wait composer install --no-interaction
22+ - travis_wait composer update --no-interaction $COMPOSER_FLAGS
1323
1424script :
15- - mkdir -p build/logs
16- - php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
25+ - if [[ $COVERAGE ]]; then mkdir -p build/logs; fi
26+ - php vendor/bin/phpunit $COVERAGE
1727
1828after_script :
19- - php vendor/bin/coveralls
29+ - if [[ $COVERAGE ]]; then php vendor/bin/coveralls; fi
Original file line number Diff line number Diff line change 1818 },
1919 "require-dev" : {
2020 "friendsofphp/php-cs-fixer" : " ^2.6" ,
21- "phpunit/phpunit" : " ^5.7" ,
21+ "phpunit/phpunit" : " ^5.7.25 " ,
2222 "satooshi/php-coveralls" : " 2.0.x-dev"
2323 },
2424 "autoload" : {
You can’t perform that action at this time.
0 commit comments