-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (31 loc) · 1019 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: php
sudo: false
php:
- 5.6
# Cache Composer & Drush directories.
cache:
directories:
- $HOME/.composer/cache
- $HOME/.drush/cache
mysql:
database: drupal
username: root
encoding: utf8
install:
- "mysql -e 'create database drupal;'"
# Install latest Drush 6.
- travis_retry composer self-update && composer --version
- travis_retry composer global require "drush/drush:6.*"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
# Download site.
- drush make build-linedepping-dev.make ../linedepping_dev.dk
- cd ../linedepping_dev.dk
- chmod -R 777 sites/
# Disable sendmail
- echo sendmail_path=`which true` >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
before_script:
- drush si linedepping_dk --db-url=mysql://root:@127.0.0.1/drupal --account-name=admin --account-pass=VIH@2012 [email protected] --site-name="linedepping.dk" --yes
- drush cc all --yes
script:
- test -d profiles/linedepping_dk
- test -d sites/all/modules/contrib