Commit 0828c86c authored by Matt Glaman's avatar Matt Glaman

Fix Behat Drupal\DrupalExtension settings

parent d90e347b
......@@ -47,8 +47,10 @@ install:
- cd ../../../
# Setting Behat environment
- DISTRO=`echo $TRAVIS_BUILD_DIR | sed -e "s/\/[^\/]*$//"`
- export BEHAT_PARAMS="{\"extensions\":{\"Drupal\\\DrupalExtension\":{\"drupal\":{\"drupal_root\":\"$DISTRO/drupal\"}}}}"
- BUILD_TOP=`dirname $TRAVIS_BUILD_DIR`
- BEHAT_PARAMS='{"extensions":{"Drupal\\DrupalExtension":{"drupal":{"drupal_root":"BUILD_TOP/drupal"}}}}'
- BEHAT_PARAMS=`echo $BEHAT_PARAMS | sed -e s#BUILD_TOP#$BUILD_TOP#`
- export BEHAT_PARAMS
# Build Codebase
- mkdir private_files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment