diff --git a/.scripts/run-tests.sh b/.scripts/run-tests.sh index cee1d9aa..1d03e253 100755 --- a/.scripts/run-tests.sh +++ b/.scripts/run-tests.sh @@ -2,6 +2,6 @@ # Wrapper for the test executing function so we only have to change it in one place. # The module name gets passed in as a command line arg. -COMMAND="$DRUPAL_DIR/vendor/bin/phpunit -c $PHPUNIT_FILE --verbose --testsuite $1" +COMMAND="$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite $1" echo $COMMAND $COMMAND diff --git a/.travis.yml b/.travis.yml index 421fafc5..a1270370 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,8 +43,12 @@ install: - drush --uri=127.0.0.1:8282 en -y islandora_audio islandora_breadcrumbs islandora_iiif islandora_image islandora_video islandora_text_extraction_defaults - drush --uri=127.0.0.1:8282 fim -y islandora_core_feature,islandora_text_extraction_defaults +before_script: + - cp $PHPUNIT_FILE $DRUPAL_DIR/web/core + script: - $SCRIPT_DIR/travis_scripts.sh + - cd core - $CUSTOM_SCRIPT_DIR/run-tests.sh "$TESTSUITE" notifications: