forked from bernat/best_in_place
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (31 loc) · 973 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
language: ruby
sudo: false
cache: bundler
rvm:
- 2.4.1
- 2.3.3
- 2.2.7
env: "RAILS_ENV=test DISPLAY=:99.0"
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_edge.gemfile
matrix:
allow_failures:
- gemfile: gemfiles/rails_edge.gemfile
exclude:
- rvm: 2.4.1
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.4.1
gemfile: gemfiles/rails_4.0.gemfile
- rvm: 2.4.1
gemfile: gemfiles/rails_4.1.gemfile
before_install:
- mkdir travis-phantomjs
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH