1010 global :
1111 - COMPOSER_ARGS="--no-interaction"
1212 - COVERAGE_DEPS="satooshi/php-coveralls"
13- - LEGACY_DEPS="phpunit/phpunit"
1413
1514matrix :
1615 include :
@@ -20,15 +19,16 @@ matrix:
2019 - php : 5.6
2120 env :
2221 - DEPS=locked
23- - CS_CHECK=true
24- - TEST_COVERAGE=true
22+ - LEGACY_DEPS="phpunit/phpunit"
2523 - php : 5.6
2624 env :
2725 - DEPS=locked
26+ - LEGACY_DEPS="phpunit/phpunit"
2827 - HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
2928 - php : 5.6
3029 env :
3130 - DEPS=locked
31+ - LEGACY_DEPS="phpunit/phpunit"
3232 - HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
3333 - php : 5.6
3434 env :
@@ -39,13 +39,16 @@ matrix:
3939 - php : 7
4040 env :
4141 - DEPS=locked
42+ - LEGACY_DEPS="phpunit/phpunit"
4243 - php : 7
4344 env :
4445 - DEPS=locked
46+ - LEGACY_DEPS="phpunit/phpunit"
4547 - HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
4648 - php : 7
4749 env :
4850 - DEPS=locked
51+ - LEGACY_DEPS="phpunit/phpunit"
4952 - HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
5053 - php : 7
5154 env :
@@ -56,6 +59,8 @@ matrix:
5659 - php : 7.1
5760 env :
5861 - DEPS=locked
62+ - CS_CHECK=true
63+ - TEST_COVERAGE=true
5964 - php : 7.1
6065 env :
6166 - DEPS=locked
@@ -84,23 +89,18 @@ matrix:
8489 - php : 7.2
8590 env :
8691 - DEPS=latest
87- allow_failures :
88- - php : 7.2
8992
9093before_install :
9194 - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
92- - travis_retry composer self-update
9395
9496install :
9597 - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
96- - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
98+ - if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
9799 - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
98100 - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
99101 - if [[ $HELPER_DEPS != '' ]]; then travis_retry composer require $COMPOSER_ARGS --update-with-dependencies $HELPER_DEPS ; fi
100102 - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
101- - stty cols 120
102- - export COLUMNS=120
103- - composer show
103+ - stty cols 120 && composer show
104104
105105script :
106106 - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
0 commit comments