Skip to content

Fix for travis and PHPUnit #13

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

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from
Open
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
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.1
- 7.2
- hhvm

matrix:
fast_finish: true
allow_failures:
- php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.1
- 7.2
- hhvm

mysql:
Expand Down Expand Up @@ -55,6 +55,9 @@ before_script:
- mysql -e 'create database travis_ci_drupal_module_example_test'
- php -d sendmail_path=`which true` ~/.composer/vendor/bin/drush.php --yes core-quick-drupal --profile=testing --no-server --db-url=mysql://root:@127.0.0.1/travis_ci_drupal_module_example_test --enable=simpletest travis_ci_drupal_module_example_test

# Update PHPUnit for Drupal 8.6+ and PHP 7+.
- composer run-script drupal-phpunit-upgrade

# reference and enable travis_ci_drupal_module_example in build site
- ln -s $(readlink -e $(cd -)) travis_ci_drupal_module_example_test/drupal/sites/all/modules/travis_ci_drupal_module_example
- cd travis_ci_drupal_module_example_test/drupal
Expand Down