Commit cec2a6f8 authored by Lars Olesen's avatar Lars Olesen

Move Behat environment settings away from script section

parent cf2425eb
......@@ -45,6 +45,10 @@ install:
- composer install --no-interaction --prefer-source
- cd ../../../
# Setting Behat environment
- DISTRO=`echo $TRAVIS_BUILD_DIR | sed -e "s/\/[^\/]*$//"`
- export BEHAT_PARAMS="extensions[Drupal\\DrupalExtension\\Extension][drupal][drupal_root]=$DISTRO/drupal"
# Build Codebase
- mkdir private_files
- mkdir profiles
......@@ -98,8 +102,6 @@ before_script:
script:
- DISTRO=`echo $TRAVIS_BUILD_DIR | sed -e "s/\/[^\/]*$//"`
- export BEHAT_PARAMS="extensions[Drupal\\DrupalExtension\\Extension][drupal][drupal_root]=$DISTRO/drupal"
- ./bin/behat --config behat.travis.yml
notifications:
......
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