Skip to content

Commit 368ecb8

Browse files
authored
tests(travis): Enable testing on PHP 7.4 (#955)
1 parent 7626188 commit 368ecb8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

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

1213
env:
1314
global:
@@ -37,6 +38,10 @@ matrix:
3738
# cannot reproduce locally.
3839
# See https://github.com/drupal-graphql/graphql/pull/872
3940
- php: 7.3
41+
# PHP 7.4 testing is allowed to fail because the GD extension is not
42+
# packaged on Travis CI yet.
43+
# See https://travis-ci.community/t/some-extensions-are-missing-in-php-7-4-0-zip-gmp-sodium/6320/9
44+
- php: 7.4
4045

4146
mysql:
4247
database: graphql
@@ -49,8 +54,8 @@ cache:
4954
- $HOME/.composer
5055

5156
before_install:
52-
# Disable xdebug.
53-
- phpenv config-rm xdebug.ini
57+
# Disable xdebug. It might not exist on PHP 7.4 so ignore that error.
58+
- phpenv config-rm xdebug.ini || true
5459

5560
# Determine the php settings file location.
5661
- if [[ $TRAVIS_PHP_VERSION = hhvm* ]];

0 commit comments

Comments
 (0)