This repository was archived by the owner on Oct 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
54 lines (54 loc) · 1.84 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- jruby-19mode
branches:
only:
- master
before_script:
- phantomjs --version
env:
- PHANTOMJS_VERSION=1.9.8
gemfile:
- gemfiles/opal_0.8_react_13.gemfile
- gemfiles/opal_0.8_react_14.gemfile
- gemfiles/opal_0.8_react_15.gemfile
- gemfiles/opal_0.9_react_13.gemfile
- gemfiles/opal_0.9_react_14.gemfile
- gemfiles/opal_0.9_react_15.gemfile
cache:
directories:
- "travis_phantomjs"
before_install:
- "phantomjs --version"
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
- "phantomjs --version"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
script:
- bundle exec rake test_app
- bundle exec rake
# These two setup seems to run indefinitely long
# further investigation required.
matrix:
exclude:
- rvm: jruby-19mode
gemfile: gemfiles/opal_0.9_react_13.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/opal_0.9_react_14.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/opal_0.9_react_15.gemfile
include:
- rvm: 2.1
env: PHANTOMJS_VERSION=2.1.1
gemfile: gemfiles/opal_0.10_react_13.gemfile
- rvm: 2.1
env: PHANTOMJS_VERSION=2.1.1
gemfile: gemfiles/opal_0.10_react_14.gemfile
- rvm: 2.1
env: PHANTOMJS_VERSION=2.1.1
gemfile: gemfiles/opal_0.10_react_15.gemfile