Skip to content
Snippets Groups Projects
Commit 28920b8d authored by Owen Bush's avatar Owen Bush
Browse files

Download dev requirements and switch back to using cores phpunit.xml.dist file

parent a489b027
No related branches found
Tags 2.0.0-alpha1 8.x-1.0-alpha1
No related merge requests found
......@@ -49,7 +49,7 @@ before_script:
- export SIMPLETEST_DB=mysql://root:@127.0.0.1/$MODULE
# Create a new Drupal project using the appropriate version using Composer.
- COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:$DRUPAL_CORE drupal --stability dev --no-interaction
- COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:$DRUPAL_CORE drupal --stability dev --dev --no-interaction
- cd drupal
- DRUPAL_ROOT=$(pwd)
......@@ -86,7 +86,7 @@ script:
- ./vendor/bin/drush runserver --default-server=builtin 8888 > /dev/null &
# Run the PHPUnit tests.
- ./vendor/bin/phpunit -c ./web/modules/contrib/$MODULE/phpunit.xml --verbose --group=$MODULE
- ./vendor/bin/phpunit -c ./web/core/phpunit.xml.dist --verbose --group=$MODULE ./web/modules/contrib/$MODULE
# Run the deprecation checks.
- ./vendor/bin/drupal-check ./web/modules/contrib/$MODULE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment