Skip to content

Commit

Permalink
Merge pull request #9 from iamEAP/test-fail
Browse files Browse the repository at this point in the history
Fix for test build/fail regression.
  • Loading branch information
iamEAP committed Apr 7, 2014
2 parents 7661960 + 2cacf2c commit a763613
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ mysql:
encoding: utf8

install:
# install drush
- composer global require drush/drush:6.2.0
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- mkdir $HOME/.drush
- drush cc drush
# install drush 5.x (because 6.x's test-run doesn't exit with proper status code).
- pear channel-discover pear.drush.org
- pear install drush/drush-5.10.0.0
- phpenv rehash

# install additional requirements
- sudo apt-get update > /dev/null
Expand All @@ -25,7 +24,7 @@ before_script:

# create new site, stubbing sendmail path with true to prevent delivery errors and manually resolving drush path
- mysql -e 'create database scale_addressfield'
- php -d sendmail_path=`which true` `dirname $(which drush)`/drush.php --yes core-quick-drupal --profile=testing --no-server --db-url=mysql://root:@127.0.0.1/scale_addressfield --enable=simpletest scale_addressfield
- php -d sendmail_path=`which true` `pear config-get php_dir`/drush/drush.php --yes core-quick-drupal --profile=testing --no-server --db-url=mysql://root:@127.0.0.1/scale_addressfield --enable=simpletest scale_addressfield

# reference and enable scale_addressfield in the build site
- ln -s $(readlink -e $(cd -)) scale_addressfield/drupal/sites/all/modules/scale_addressfield
Expand Down

0 comments on commit a763613

Please sign in to comment.