forked from wearefine/fae
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 800 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
language: 'ruby'
dist: 'trusty'
sudo: false
cache: bundler
notifications:
email: false
slack:
on_success: 'always'
on_failure: 'always'
rooms:
secure: BvxKBW223g/HPLFg5TMcc0T6iU2RoseCtuentB7BYQ4ia6ufRPr+ywNB6pw0CR76I6eTtFx0uHgdQ6/xd0hJLI2nCB8F7yiJmNJUXO6HmS2AttRhpfmmKObfDCm5+7uDdwm2aReYriQyew3WZ8T47SLs1XWK7p+Yv/AsZwdaSHU=
before_script:
- 'mysql -e "CREATE DATABASE IF NOT EXISTS fae_dummy_test CHARACTER SET utf8 COLLATE utf8_general_ci;"'
- 'cd spec/dummy'
- 'bundle exec rake db:schema:load --trace'
- 'cd ../../'
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
env:
global:
- 'RAILS_ENV=test'
services:
- 'mysql'
rvm:
- '2.3'
gemfile:
- 'gemfiles/rails_4_1.gemfile'
- 'gemfiles/rails_4_2.gemfile'
- 'gemfiles/rails_5_0.gemfile'