Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update travis integration #19

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ language: php
sudo: false

php:
- 7.1
- 7.3

services:
- mysql

matrix:
include:
- name: PHP 7.1 & MySQL 5.7, D8.7
php: 7.1
- name: D8.7
env: DRUPAL_TI_RUNNERS="phpunit-core" DRUPAL_TI_CORE_BRANCH="8.7.x"
- name: PHP 7.1 & MySQL 5.7, D8.8
php: 7.1
- name: D8.8
env: DRUPAL_TI_RUNNERS="phpunit-core" DRUPAL_TI_CORE_BRANCH="8.8.x"

env:
Expand All @@ -42,7 +40,7 @@ env:
- DRUPAL_TI_ENVIRONMENT="drupal-8"

# The drush version to use, by default: drush/drush:8.0.*
# - DRUPAL_TI_DRUSH_VERSION="drush/drush:~9.0"
- DRUPAL_TI_DRUSH_VERSION="drush/drush:^10.1.1"

# Switch to 8.7.x versions instead of 8.1.x by default.
- DRUPAL_TI_CORE_BRANCH="8.7.x"
Expand Down Expand Up @@ -78,6 +76,7 @@ env:
- DRUPAL_TI_BEHAT_BROWSER="firefox"

# PHPUnit specific commandline arguments.
- DRUPAL_TI_PHPUNIT_VERSION="^7.0"
- DRUPAL_TI_PHPUNIT_ARGS=""
# Specifying the phpunit-core src/ directory is useful when e.g. a vendor/
# directory is present in the module directory, which phpunit would then
Expand Down Expand Up @@ -113,7 +112,9 @@ mysql:
before_install:
- composer self-update
- cd ./tests
- composer global require "lionsad/drupal_ti:dev-master#9f26af8"
- composer global config repositories.repo-name git https://github.com/wengerk/drupal_ti
- composer global require "lionsad/drupal_ti:dev-add-drupal-9-support"
# - composer global require "lionsad/drupal_ti:dev-master"
- drupal-ti before_install

install:
Expand Down