02-before-install.sh in Thunder 8.2
#!/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
- #!/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-*