@@ -5,14 +5,11 @@ language: php
55cache :
66 directories :
77 - $HOME/.composer/cache
8- - $HOME/.local
9- - vendor
108
119env :
1210 global :
1311 - COMPOSER_ARGS="--no-interaction"
1412 - COVERAGE_DEPS="satooshi/php-coveralls"
15- - LEGACY_DEPS="phpunit/phpunit"
1613
1714matrix :
1815 include :
@@ -22,14 +19,16 @@ matrix:
2219 - php : 5.6
2320 env :
2421 - DEPS=locked
25- - TEST_COVERAGE=true
22+ - LEGACY_DEPS="phpunit/phpunit"
2623 - php : 5.6
2724 env :
2825 - DEPS=locked
26+ - LEGACY_DEPS="phpunit/phpunit"
2927 - HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
3028 - php : 5.6
3129 env :
3230 - DEPS=locked
31+ - LEGACY_DEPS="phpunit/phpunit"
3332 - HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
3433 - php : 5.6
3534 env :
@@ -40,14 +39,16 @@ matrix:
4039 - php : 7
4140 env :
4241 - DEPS=locked
43- - CS_CHECK=true
42+ - LEGACY_DEPS="phpunit/phpunit"
4443 - php : 7
4544 env :
4645 - DEPS=locked
46+ - LEGACY_DEPS="phpunit/phpunit"
4747 - HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
4848 - php : 7
4949 env :
5050 - DEPS=locked
51+ - LEGACY_DEPS="phpunit/phpunit"
5152 - HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
5253 - php : 7
5354 env :
@@ -58,6 +59,8 @@ matrix:
5859 - php : 7.1
5960 env :
6061 - DEPS=locked
62+ - CS_CHECK=true
63+ - TEST_COVERAGE=true
6164 - php : 7.1
6265 env :
6366 - DEPS=locked
@@ -69,38 +72,35 @@ matrix:
6972 - php : 7.1
7073 env :
7174 - DEPS=latest
72- - php : hhvm
75+ - php : 7.2
7376 env :
7477 - DEPS=lowest
75- - php : hhvm
78+ - php : 7.2
7679 env :
7780 - DEPS=locked
78- - php : hhvm
81+ - php : 7.2
7982 env :
8083 - DEPS=locked
8184 - HELPER_DEPS="zendframework/zend-expressive-helpers:^2.2 zendframework/zend-expressive-router:^1.3.2"
82- - php : hhvm
85+ - php : 7.2
8386 env :
8487 - DEPS=locked
8588 - HELPER_DEPS="zendframework/zend-expressive-helpers:^3.0.1"
86- - php : hhvm
89+ - php : 7.2
8790 env :
8891 - DEPS=latest
89- allow_failures :
90- - php : hhvm
9192
9293before_install :
9394 - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
94- - travis_retry composer self-update
9595
9696install :
9797 - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
98- - 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
9999 - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
100100 - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
101101 - if [[ $HELPER_DEPS != '' ]]; then travis_retry composer require $COMPOSER_ARGS --update-with-dependencies $HELPER_DEPS ; fi
102102 - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
103- - composer show
103+ - stty cols 120 && composer show
104104
105105script :
106106 - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
@@ -112,13 +112,3 @@ after_script:
112112
113113notifications :
114114 email : false
115- irc :
116- channels :
117- - " irc.freenode.org#zftalk.dev"
118- on_success : change
119- on_failure : always
120- slack :
121- rooms :
122- - secure : " e6NSTxYfduEBE4M4ywNmlzWSA1WP/dl5KAsjkQZjKAQMYKNZZ4H6amNF3fyfoq9m8z/oozJYCGPzHwVAnOkK2dr8m3Kv9dfk6T8EeB9o55uBEevwlnqIX48Ls+IKI1ZbTu1+hrUkDRGhIRoEdzDXQR0iBD7bE1TyRvWCoaBTyH4XhOboDJEC+ohVC3TO/uAtvrwpCuZ6U1blUeh+XNy79TrWVoO0erQc/UdNcee8688iUqNHGN7Ds35x/vYuvZnNWrqVH0nW6SUst4KQwFMV25X8LuPd6ZU4NhCog2Q5kZoq+Dw/o7Umdn3qqnjT9sgcDIwdEtb2LYr66nM4fdRe/ueH7EgxSd0x6bBDdSccgj7dNytTD8wh70gLmiKxOK5oomBtVb6XF3dmVzRtY/GMzAXjg7SMWDrqxXU7VXBovENz/nS3AWW+2hOIazkbumq1oDXA/KSFgMEOG40yfRHohOkB0h9CQOypPmnm7G5T4Dn3Zwvkqltrz4YFTtSUflgxl97OQsnwJdCUY7NxZusY4vrrlqGzFvwago5kpFRbBzONaHh5qmIX9KKeCDiITjIV5UO9yZLSQyZCR74THn0TJ2CfcCnW4vKbOHAPVgZRd/XS5JxvxAxN6kozl+4YC33ZJEDSlWMS4C7AxJ0MR/Vu4o93rQxAMqJ1L1Y56adEeBw="
123- on_success : change
124- on_failure : always
0 commit comments