File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
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 :
@@ -19,14 +19,19 @@ matrix:
1919 - php : 7.2
2020 env : STATIC_ANALYSIS=1 DEFAULT=0
2121
22- before_script :
23- - composer update --no-interaction
24-
25- - if [[ $STATIC_ANALYSIS == 1 ]]; then composer stan-setup; fi
22+ install :
23+ - |
24+ if [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then
25+ composer install --no-interaction --ignore-platform-reqs
26+ elif [[ $STATIC_ANALYSIS == 1 ]]; then
27+ composer stan-setup
28+ else
29+ composer install
30+ fi
2631
2732script :
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
33+ - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION != 7.4 ]]; then vendor/bin/phpunit; fi
34+ - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.4 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml; fi
3035
3136 - |
3237 if [[ $STATIC_ANALYSIS == 1 ]]; then
@@ -36,7 +41,7 @@ script:
3641 - if [[ $PHPCS == 1 ]]; then composer cs-check; fi
3742
3843after_success :
39- - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.3 ]]; then bash <(curl -s https://codecov.io/bash); fi
44+ - if [[ $DEFAULT == 1 && $TRAVIS_PHP_VERSION == 7.4 ]]; then bash <(curl -s https://codecov.io/bash); fi
4045
4146notifications :
4247 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