This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,19 @@ sudo: false
22
33language : php
44
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache
8+
59matrix :
610 fast_finish : true
711 include :
812 - php : 5.5
13+ env :
14+ - EXECUTE_CS_CHECK=true
915 - php : 5.6
1016 env :
1117 - EXECUTE_COVERAGE=true
12- - EXECUTE_CS_CHECK=true
1318 - php : 7
1419 - php : hhvm
1520 allow_failures :
@@ -21,15 +26,16 @@ notifications:
2126
2227before_install :
2328 - if [[ $EXECUTE_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
29+ - composer self-update
30+ - if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require --no-update satooshi/php-coveralls:dev-master ; fi
2431
2532install :
26- - composer install
33+ - travis_retry composer install --no-interaction --ignore-platform-reqs
2734
2835script :
2936 - if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi
3037 - if [[ $EXECUTE_COVERAGE != 'true' ]]; then ./vendor/bin/phpunit ; fi
3138 - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/phpcs ; fi
3239
3340after_script :
34- - if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require satooshi/php-coveralls:dev-master ; fi
3541 - if [[ $EXECUTE_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls ; fi
You can’t perform that action at this time.
0 commit comments