Skip to content

Commit 4aeadfc

Browse files
committed
Update gem requirements for travis
1 parent 7918ae1 commit 4aeadfc

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.travis.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,29 @@ sudo: false
44
fast_finish: true
55
script: rake $RUN
66

7+
before_install:
8+
# thanks to https://mediocre.com/forum/topics/phantomjs-2-and-travis-ci-we-beat-our-heads-against-a-wall-so-you-dont-have-to
9+
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
10+
- tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2
11+
# Keep track of which version of phantomjs we're running the specs against
12+
- phantomjs -v
13+
714
matrix:
815
include:
9-
- rvm: 2.2
10-
- rvm: 2.1
11-
- rvm: 1.9.3
12-
- rvm: 2.0
16+
- rvm: 2.3.1
17+
env: PATH=".:$PATH"
18+
- rvm: 2.2.4
19+
env: PATH=".:$PATH"
20+
- rvm: 2.1.10
21+
env: PATH=".:$PATH" RACK_VERSION='< 2.0'
22+
- rvm: 2.0.0
23+
env: PATH=".:$PATH" RACK_VERSION='< 2.0'
1324

14-
# We use 2.1.4 to differentiate the rvm version
25+
# We use 2.1.9 to differentiate the rvm version
1526
# as travis doesn't allow failures by env.
16-
- rvm: 2.1.4
17-
env: RUN=zepto
27+
- rvm: 2.1.9
28+
env: RUN=zepto PATH=".:$PATH" RACK_VERSION='< 2.0'
1829

1930
allow_failures:
20-
- rvm: 2.1.4
31+
- rvm: 2.1.9
2132

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
source 'https://rubygems.org'
22
gemspec
3+
34
gem 'opal', ENV['OPAL_VERSION'] || '~> 0.10.0'
45
gem 'opal-rspec', github: 'opal/opal-rspec', submodules: true
6+
gem 'rack', ENV['RACK_VERSION'] || '> 0'

0 commit comments

Comments
 (0)