Skip to content

Instantly share code, notes, and snippets.

@lsolesen
Created August 13, 2012 11:18
Show Gist options
  • Save lsolesen/3339692 to your computer and use it in GitHub Desktop.
Save lsolesen/3339692 to your computer and use it in GitHub Desktop.
Travis CI-integration for a Drupal 7 installation profile
language: php
php:
- 5.3
mysql:
database: drupal
username: root
encoding: utf8
before_script:
- "mysql -e 'create database drupal;'"
- pear channel-discover pear.drush.org
- pear install drush/drush
- phpenv rehash
- drush make vih_dk.build ../vih.dk
- cd ../vih.dk
- sudo chmod -R 777 sites/all/modules
- drush si vih_dk --db-url=mysql://root:@127.0.0.1/drupal --account-name=admin --account-pass=VIH@2012 [email protected] --site-name="vih.dk" --yes
- drush cc all --yes
script:
- test -d profiles/vih_dk
- test -d profiles/vih_dk/modules/contrib
- test -d profiles/vih_dk/modules/vih
- test -d profiles/vih_dk/themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment