Open agentrickard opened 6 years ago
This seems to fix the issue:
# Other setup tasks
# Drupal installation
# Update PHPUnit.
- composer run-script drupal-phpunit-upgrade
That makes sense! If you would like to create a pull request to include that in the example here, I would greatly appreciate that!
The current example tests for PHP 5 versions. However, Drupal 8.6 now requires PHPUnit 6, which is not compatible with PHP 5.x.
See https://www.drupal.org/node/2957906
Running tests on Travis returns the error:
Can you update this example to show how we can run different versions of PHPUnit based on the PHP ENV variable in the matrix?
For example: