Browse Source

Make directory and use correct testsuite

pull/804/head
Jared Whiklo 5 years ago
parent
commit
5850fe956e
  1. 3
      .scripts/run-tests.sh
  2. 3
      .travis.yml

3
.scripts/run-tests.sh

@ -2,9 +2,6 @@
# Wrapper for the test executing function so we only have to change it in one place. # 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. # The module name gets passed in as a command line arg.
LS="ls ../modules/contrib/islandora/tests/src/Kernel"
echo "LS Command -> $LS"
$LS
COMMAND="$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite $1" COMMAND="$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite $1"
echo $COMMAND echo $COMMAND
$COMMAND $COMMAND

3
.travis.yml

@ -7,7 +7,7 @@ php:
env: env:
- TESTSUITE=kernel - TESTSUITE=kernel
- TESTSUITE=functional - TESTSUITE=functional
- TESTSUITE=function-javascript - TESTSUITE=functional-javascript
matrix: matrix:
fast_finish: true fast_finish: true
@ -44,6 +44,7 @@ install:
- drush --uri=127.0.0.1:8282 fim -y islandora_core_feature,islandora_text_extraction_defaults - drush --uri=127.0.0.1:8282 fim -y islandora_core_feature,islandora_text_extraction_defaults
before_script: before_script:
- mkdir $DRUPAL_DIR/web/sites/simpletest/browser_output
- cp $PHPUNIT_FILE $DRUPAL_DIR/web/core - cp $PHPUNIT_FILE $DRUPAL_DIR/web/core
script: script:

Loading…
Cancel
Save