-
Notifications
You must be signed in to change notification settings - Fork 63
/
.travis.yml
39 lines (31 loc) · 1.16 KB
/
.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
language: ruby
sudo: false
fast_finish: true
script: bundle exec rake $RUN
matrix:
include:
- rvm: 2.4.2
env: OPAL_VERSION='master'
- rvm: 2.3.4
env: OPAL_VERSION='~> 0.10.5'
- rvm: 2.1.10
env: RACK_VERSION='< 2.0'
- rvm: 2.0.0
env: RACK_VERSION='< 2.0'
# We use 2.1.9 to differentiate the rvm version
# as travis doesn't allow failures by env.
- rvm: 2.1.9
env: RUN=zepto PATH=".:$PATH" RACK_VERSION='< 2.0'
allow_failures:
- rvm: 2.1.9 # zepto
cache:
bundler: true
directories:
- node_modules
before_install:
- gem update --system
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"