Last active
December 20, 2015 06:49
-
-
Save desmondmorris/6088541 to your computer and use it in GitHub Desktop.
Drupal 7 - Wercker configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: wercker/php | |
services: | |
- wercker/mysql | |
build: | |
steps: | |
- script: | |
name: Install Drush | |
code: |- | |
pear channel-discover pear.drush.org | |
pear install drush/drush | |
phpenv rehash | |
- script: | |
name: Install Drupal | |
code: |- | |
drush site-install standard --db-url=$WERCKER_MYSQL_URL --site-name=Testing -y | |
- script: | |
name: Enable simpletest | |
code: |- | |
drush en simpletest -y | |
drush vset --yes simpletest_verbose FALSE | |
- script: | |
name: Start server | |
code: |- | |
drush runserver --server=builtin 8080 & sleep 5 | |
- script: | |
name: Run tests | |
code: |- | |
drush test-run DrupalGotoTest --xml --uri=http://127.0.0.1:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment