Skip to content

Commit

Permalink
Merge pull request #70 from slashrsm/allow_8_1_x
Browse files Browse the repository at this point in the history
Support running tests based on 8.1.x.
  • Loading branch information
LionsAd committed Apr 1, 2016
2 parents 9201ccd + b2ce49c commit 57a55f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion environments/drupal-8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# Drupal-8 environment variables and functions.

function drupal_ti_install_drupal() {
git clone --depth 1 --branch 8.0.x http://git.drupal.org/project/drupal.git
git clone --depth 1 --branch "$DRUPAL_TI_CORE_BRANCH" http://git.drupal.org/project/drupal.git
cd drupal
composer install
php -d sendmail_path=$(which true) ~/.composer/vendor/bin/drush.php --yes -v site-install "$DRUPAL_TI_INSTALL_PROFILE" --db-url="$DRUPAL_TI_DB_URL"
drush use $(pwd)#default
}
Expand All @@ -20,6 +21,10 @@ export DRUPAL_TI_DRUPAL_BASE="$TRAVIS_BUILD_DIR/../drupal-8"
export DRUPAL_TI_DRUPAL_DIR="$DRUPAL_TI_DRUPAL_BASE/drupal"
export DRUPAL_TI_DIST_DIR="$HOME/.dist"
export PATH="$DRUPAL_TI_DIST_DIR/usr/bin:$PATH"
if [ -z "$DRUPAL_TI_CORE_BRANCH" ]
then
export DRUPAL_TI_CORE_BRANCH="8.1.x"
fi

# Display used for running selenium browser.
export DISPLAY=:99.0
Expand Down

0 comments on commit 57a55f2

Please sign in to comment.