File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 88 - 7.1
99 - 7.2
1010 - 7.3
11+ - 7.4
1112
1213sudo : false
1314
@@ -22,16 +23,13 @@ matrix:
2223 fast_finish : true
2324
2425 include :
25- - php : 7.3
26+ - php : 7.4
2627 env : PREFER_LOWEST="" DB=mysql db_user=root db_host=0.0.0.0 db_name=cakephp_test
2728
28- - php : ' 7.4snapshot'
29- env : PREFER_LOWEST="" DB=mysql db_user=root db_host=0.0.0.0 db_name=cakephp_test
30-
31- - php : 7.3
29+ - php : 7.4
3230 env : PHPCS=1 DEFAULT=0 PREFER_LOWEST=""
3331
34- - php : 7.3
32+ - php : 7.4
3533 env : PHPSTAN=1 DEFAULT=0 PREFER_LOWEST=""
3634
3735
4139 - $HOME/.composer/cache
4240
4341before_script :
44- - if [[ $TRAVIS_PHP_VERSION != '7.4snapshot' ]]; then phpenv config-rm xdebug.ini; fi
45-
4642 - composer self-update
4743 - composer update --prefer-stable --prefer-dist --no-interaction $PREFER_LOWEST
4844
@@ -55,15 +51,15 @@ before_script:
5551 - if [[ $TRAVIS_PHP_VERSION != 7.0 && $PREFER_LOWEST != "" ]]; then composer require --prefer-stable --prefer-dist --no-interaction $PREFER_LOWEST cakephp/chronos:^1.0.1; fi
5652
5753script :
58- - if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION != 7.3 ]]; then vendor/bin/phpunit; fi
59- - if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.3 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml; fi
54+ - if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION != 7.4 ]]; then vendor/bin/phpunit; fi
55+ - if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.4 ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml; fi
6056
6157 - if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -n -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi
6258 - if [[ $PHPSTAN = 1 ]]; then vendor/bin/phpstan analyse -c phpstan.neon -l 7 src; fi
6359
6460after_success :
6561 - |
66- if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.3 ]]; then
62+ if [[ $DEFAULT = 1 && $TRAVIS_PHP_VERSION = 7.4 ]]; then
6763 curl -s https://codecov.io/bash > codecov
6864 sed -i -e 's/TRAVIS_.*_VERSION/^TRAVIS_.*_VERSION=/' codecov
6965 bash codecov
You can’t perform that action at this time.
0 commit comments