Skip to content

Commit 51729f3

Browse files
committed
update travis.yml to use 8.8 & 8.9 version of Drupal
1 parent add7bb5 commit 51729f3

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ language: php
88
sudo: false
99

1010
php:
11-
- 7
12-
- 7.1
13-
- 7.2
11+
- 7.3
1412

1513
services:
1614
- mysql
1715

1816
matrix:
19-
fast_finish: true
20-
allow_failures:
21-
- php: hhvm
17+
include:
18+
- name: D8.8
19+
env: DRUPAL_TI_RUNNERS="phpunit-core" DRUPAL_TI_CORE_BRANCH="8.8.x" DRUPAL_TI_PHPUNIT_ARGS="--group template_whisperer"
20+
- name: D8.9
21+
env: DRUPAL_TI_RUNNERS="phpunit-core" DRUPAL_TI_CORE_BRANCH="8.9.x" DRUPAL_TI_PHPUNIT_ARGS="--group template_whisperer"
22+
- name: D9.0
23+
env: DRUPAL_TI_RUNNERS="phpunit-core" DRUPAL_TI_ENVIRONMENT="drupal-9" DRUPAL_TI_CORE_BRANCH="9.0.x" DRUPAL_TI_PHPUNIT_ARGS="--group template_whisperer"
2224

2325
env:
2426
global:
@@ -39,8 +41,11 @@ env:
3941
# The environment to use, supported are: drupal-7, drupal-8
4042
- DRUPAL_TI_ENVIRONMENT="drupal-8"
4143

42-
# Switch to 8.6.x versions instead of 8.1.x by default.
43-
- DRUPAL_TI_CORE_BRANCH="8.6.x"
44+
# The drush version to use, by default: drush/drush:8.0.*
45+
- DRUPAL_TI_DRUSH_VERSION="drush/drush:^10.1.1"
46+
47+
# Switch to 8.9.x versions instead of 8.1.x by default.
48+
- DRUPAL_TI_CORE_BRANCH="8.9.x"
4449

4550
# The installation profile to use:
4651
#- DRUPAL_TI_INSTALL_PROFILE="testing"
@@ -71,6 +76,7 @@ env:
7176
- DRUPAL_TI_BEHAT_BROWSER="firefox"
7277

7378
# PHPUnit specific commandline arguments.
79+
- DRUPAL_TI_PHPUNIT_VERSION="^7.0"
7480
- DRUPAL_TI_PHPUNIT_ARGS=""
7581
# Specifying the phpunit-core src/ directory is useful when e.g. a vendor/
7682
# directory is present in the module directory, which phpunit would then
@@ -106,16 +112,15 @@ mysql:
106112
before_install:
107113
- composer self-update
108114
- cd ./tests
109-
- composer global require "lionsad/drupal_ti:1.*"
115+
- composer global config repositories.repo-name git https://github.com/wengerk/drupal_ti
116+
- composer global require "lionsad/drupal_ti:dev-add-drupal-9-support"
110117
- drupal-ti before_install
111118

112119
install:
113120
- drupal-ti install
114121

115122
before_script:
116123
- drupal-ti before_script
117-
# Update from PHPUnit 4.x to 6.x as required by Drupal 8.6.x.
118-
- composer run-script drupal-phpunit-upgrade --working-dir=/home/travis/build/antistatique/drupal-8/drupal --no-interaction
119124

120125
script:
121126
# Disable deprecations helper to avoid build failed caused by usage of

0 commit comments

Comments
 (0)