You are here

02-before-install.sh in Thunder 8.2

Same filename and directory in other branches
  1. 8.3 scripts/travis/02-before-install.sh
#!/usr/bin/env bash

# Disable xdebug.
echo "" > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
# Stop drush from sending email
echo "sendmail_path = /bin/true" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
phpenv rehash

# Prepare test directory
cd $TRAVIS_BUILD_DIR
mkdir -p ${TEST_DIR}

# Install Drush
composer global require drush/drush:^8.1

# Clear drush release history cache, to pick up new releases.
rm -f ~/.drush/cache/download/*---updates.drupal.org-release-history-*

File

scripts/travis/02-before-install.sh
View source
  1. #!/usr/bin/env bash
  2. # Disable xdebug.
  3. echo "" > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
  4. # Stop drush from sending email
  5. echo "sendmail_path = /bin/true" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  6. phpenv rehash
  7. # Prepare test directory
  8. cd $TRAVIS_BUILD_DIR
  9. mkdir -p ${TEST_DIR}
  10. # Install Drush
  11. composer global require drush/drush:^8.1
  12. # Clear drush release history cache, to pick up new releases.
  13. rm -f ~/.drush/cache/download/*---updates.drupal.org-release-history-*