-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (37 loc) · 902 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
# Travis CI configuration
language: php
php:
- "5.4"
services: mysql
addons:
firefox: "28.0"
# use docker infrastructure for builds
sudo: false
env:
global:
- DATABASE='drupal_test'
- DB_USERNAME='root'
- DB_ENCODE='utf8'
before_install:
- mysql -e "create database IF NOT EXISTS drupal_test;" -uroot
install:
- rvm install ruby-1.9.3-p194
- rvm use 1.9.3-p194
- gem install bundler
- bundle install
- composer global require drush/drush:6.* drupal/coder:~7.2
- export PATH="$HOME/.composer/vendor/bin:$PATH"
# Javascript tests from makefile - gulpfile.js
# - make install
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
# Javascript tests from makefile
# - make test
- "(cd tests/scripts && bash ci_run_php_tests.sh)"
- "phpcs docroot/sites/all/modules --report=full || true"
branches:
only:
- master
- develop