This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,13 @@ matrix:
2323 - php : 5.6
2424 env :
2525 - DEPS=latest
26- - TEST_COVERAGE=true
2726 - php : 7
2827 env :
2928 - DEPS=lowest
3029 - php : 7
3130 env :
3231 - DEPS=locked
33- - CHECK_CS=true
32+ - LEGACY_DEPS="phpunit/phpunit"
3433 - php : 7
3534 env :
3635 - DEPS=latest
@@ -40,6 +39,8 @@ matrix:
4039 - php : 7.1
4140 env :
4241 - DEPS=locked
42+ - CS_CHECK=true
43+ - TEST_COVERAGE=true
4344 - php : 7.1
4445 env :
4546 - DEPS=latest
@@ -53,11 +54,8 @@ matrix:
5354 env :
5455 - DEPS=latest
5556
56- notifications :
57- email : false
58-
5957before_install :
60- - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini ; fi
58+ - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6159
6260install :
6361 - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
@@ -68,9 +66,11 @@ install:
6866 - stty cols 120 && composer show
6967
7068script :
71- - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; fi
72- - if [[ $TEST_COVERAGE != 'true' ]]; then composer test ; fi
73- - if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
69+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
70+ - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
7471
7572after_script :
76- - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php ./vendor/bin/php-coveralls ; fi
73+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
74+
75+ notifications :
76+ email : false
You can’t perform that action at this time.
0 commit comments