-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
41 lines (34 loc) · 894 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
php:
- 5.5
mysql:
database: drupal
username: root
encoding: utf8
services:
- memcached
addons:
hosts:
- travis.midcamp.dev
before_install:
- export BASEDIR=${PWD}
- sudo apt-get update
- composer self-update
install:
- sudo ci/install_apache.sh
- sudo ci/config_vhost.sh midcamp $BASEDIR/docroot $BASEDIR/ci/apache/vhost.conf
- phpenv config-add ci/php/memcache.ini
- phpenv config-add ci/php/tweaks.ini
- ci/install_ci.sh
- export PATH="$BASEDIR/ci/vendor/bin:$PATH"
- export DISPLAY=:99.0
- ci/install_tests.sh
- ci/install_selenium.sh
- phpenv rehash
before_script:
- ci/install_drupal_mysql.sh
- "sh -e /etc/init.d/xvfb start"
script:
- cd $BASEDIR/tests && ./bin/behat -fprogress
# - cd $BASEDIR && cat tests/failures/*
# - cd $BASEDIR && phploc --names=*.php,*.module,*.install,*.inc docroot/sites/all/modules/custom