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 +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 16
16
env :
17
17
global :
18
18
- COMPOSER_ARGS="--no-interaction"
19
+ - COVERAGE_DEPS="satooshi/php-coveralls"
19
20
- LEGACY_DEPS="phpunit/phpunit"
20
21
- SITE_URL : https://zendframework.github.io/zend-mvc
21
22
- GH_USER_NAME : " Matthew Weier O'Phinney"
@@ -69,12 +70,12 @@ before_install:
69
70
- if [[ $TRAVIS_PHP_VERSION != "hhvm" && $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini ; fi
70
71
71
72
install :
73
+ - travis_retry composer install $COMPOSER_ARGS
74
+ - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
72
75
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
73
76
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
74
- - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS satooshi/php-coveralls:^1.0 ; fi
75
- - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
76
- - travis_retry composer install $COMPOSER_ARGS
77
- - composer show --installed
77
+ - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
78
+ - composer show
78
79
79
80
script :
80
81
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
You can’t perform that action at this time.
0 commit comments