File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1+ service_name : travis-ci
Original file line number Diff line number Diff line change 66 - 5.6
77 - hhvm
88
9+ env :
10+ global :
11+ - setup=stable
12+ - coverage=no
13+
914before_script :
10- - composer self-update
11- - composer install --prefer-source --no-interaction --dev
15+ - travis_retry composer self-update
16+ - composer config discard-changes true
17+ - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
18+ - if [[ $setup = 'coveralls' ]]; then travis_retry composer require "psr/log=1.0.0" "satooshi/php-coveralls=~0.6" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; fi
19+
20+ script :
21+ - if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
22+ - if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi
23+
24+ after_script :
25+ - if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
1226
13- script : phpunit
27+ matrix :
28+ include :
29+ - php : 5.5
30+ env : setup=coveralls coverage=yes
You can’t perform that action at this time.
0 commit comments