Skip to content

Commit ceb9124

Browse files
authored
chore(travis): Drop Drupal 8.7 support (#981)
1 parent 7d59f6c commit ceb9124

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.travis.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: php
22

33
php:
4+
- 7.4
45
- 7.3
56
- 7.2
67
- 7.1
@@ -15,25 +16,28 @@ env:
1516
- SIMPLETEST_DB=mysql://root:@127.0.0.1/graphql
1617
- TRAVIS=true
1718
matrix:
18-
- DRUPAL_CORE=8.7.x
1919
- DRUPAL_CORE=8.8.x
20+
- DRUPAL_CORE=8.9.x
2021

2122
matrix:
2223
# Don't wait for the allowed failures to build.
2324
fast_finish: true
2425
include:
2526
- php: 7.3
2627
env:
27-
- DRUPAL_CORE=8.7.x
28+
- DRUPAL_CORE=8.8.x
2829
# Only run code coverage on the latest php and drupal versions.
2930
- WITH_PHPDBG_COVERAGE=true
3031
allow_failures:
3132
# Allow the code coverage report to fail.
3233
- php: 7.3
3334
env:
34-
- DRUPAL_CORE=8.7.x
35+
- DRUPAL_CORE=8.8.x
3536
# Only run code coverage on the latest php and drupal versions.
3637
- WITH_PHPDBG_COVERAGE=true
38+
# Tests on PHP 7.4 are broken right now, see
39+
# https://github.com/drupal-graphql/graphql/issues/982
40+
- php: 7.4
3741

3842
mysql:
3943
database: graphql
@@ -85,18 +89,7 @@ install:
8589
# Bring in the module dependencies without requiring a merge plugin. The
8690
# require also triggers a full 'composer install'.
8791
- composer --working-dir=$DRUPAL_BUILD_DIR require webonyx/graphql-php:^0.12.5
88-
89-
# For Drupal 8.7 we have to manually upgrade zend-stdlib to avoid PHP 7.3
90-
# incompatibilities.
91-
- if [[ "$DRUPAL_CORE" = "8.7.x" ]];
92-
then composer --working-dir=$DRUPAL_BUILD_DIR require zendframework/zend-stdlib:3.2.1;
93-
fi
94-
95-
# For Drupal 8.7 we have to manually upgrade phpunit to avoid PHP 7.3
96-
# incompatibilities.
97-
- if [[ "$DRUPAL_CORE" = "8.7.x" ]];
98-
then composer --working-dir=$DRUPAL_BUILD_DIR run-script drupal-phpunit-upgrade;
99-
fi
92+
- composer --working-dir=$DRUPAL_BUILD_DIR run-script drupal-phpunit-upgrade
10093

10194
script:
10295
# Run the unit tests using phpdbg if the environment variable is 'true'.

0 commit comments

Comments
 (0)