Skip to content

Instantly share code, notes, and snippets.

@rom3r4
Forked from lsolesen/.travis.yml
Created March 30, 2014 23:39
Show Gist options
  • Save rom3r4/9881884 to your computer and use it in GitHub Desktop.
Save rom3r4/9881884 to your computer and use it in GitHub Desktop.
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