Skip to content

Commit ff03fb0

Browse files
committed
Change TravisCI default to php74
1 parent 414dace commit ff03fb0

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.travis.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ php:
88
- 7.1
99
- 7.2
1010
- 7.3
11+
- 7.4
1112

1213
sudo: 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

@@ -41,8 +39,6 @@ cache:
4139
- $HOME/.composer/cache
4240

4341
before_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

5753
script:
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

6460
after_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

0 commit comments

Comments
 (0)