Skip to content

Instantly share code, notes, and snippets.

@paul-m
Forked from lsolesen/.travis.yml
Created March 28, 2013 00:06
Show Gist options
  • Save paul-m/5259335 to your computer and use it in GitHub Desktop.
Save paul-m/5259335 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 --site-mail=admin@example.com --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