diff --git a/.travis.yml b/.travis.yml index ea7a3bf..194c26a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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