File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ language: php
22
33php :
44 - 7.2
5- - 7.3
65 - 7.4
6+ - ' nightly'
77
88env :
99 global :
@@ -25,14 +25,22 @@ before_script:
2525 - if [[ $STATIC_ANALYSIS == 1 ]]; then composer stan-setup; fi
2626
2727script :
28- - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION != 7.3 ]]; then vendor/bin/phpunit; fi
29- - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.3 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml; fi
28+ - |
29+ if [[ $DEFAULT == 1 ]]; then
30+ if [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then
31+ omposer install --no-interaction --ignore-platform-reqs
32+ elif [[ $TRAVIS_PHP_VERSION == 7.4 ]]; then
33+ vendor/bin/phpunit --coverage-clover=clover.xml
34+ else
35+ vendor/bin/phpunit
36+ fi
37+ fi
3038
3139 - if [[ $STATIC_ANALYSIS == 1 ]]; then composer stan; fi
3240 - if [[ $PHPCS == 1 ]]; then composer cs-check; fi
3341
3442after_success :
35- - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.3 ]]; then bash <(curl -s https://codecov.io/bash); fi
43+ - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.4 ]]; then bash <(curl -s https://codecov.io/bash); fi
3644
3745notifications :
3846 email : false
Original file line number Diff line number Diff line change 2424 },
2525 "require-dev" : {
2626 "cakephp/cakephp-codesniffer" : " ^4.0" ,
27- "phpunit/phpunit" : " ~ 8.5.0 " ,
27+ "phpunit/phpunit" : " ^ 8.5 || ^9.3 " ,
2828 "cakephp/bake" : " ^2.0"
2929 },
3030 "autoload" : {
You can’t perform that action at this time.
0 commit comments