Skip to content

Commit 28fb5ae

Browse files
committed
travis: add travis_check_rubies, remove ree, specific mri and jruby versions
1 parent c5cf219 commit 28fb5ae

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ cache:
66
- $(npm root)
77
- ~/bin
88
rvm:
9-
- '1.8'
10-
- '1.9'
11-
- '2.0'
12-
- '2.1'
13-
- '2.2'
14-
- jruby-19mode
15-
- ree
9+
- '1.8.7-p371'
10+
- '1.9.3-p551'
11+
- '2.0.0-p648'
12+
- '2.1.10'
13+
- '2.2.6'
14+
- '2.3.3'
15+
- '2.4.0'
16+
- 'jruby-1.7.26'
17+
- 'jruby-9.0.5.0'
18+
- 'jruby-9.1.5.0'
1619
script:
1720
- bundle exec image_optim --info
1821
- bundle exec rspec
@@ -23,14 +26,16 @@ before_install:
2326
matrix:
2427
include:
2528
- env: CODECLIMATE=✓
26-
rvm: '2'
29+
rvm: '2.4.0'
2730
after_success: bundle exec codeclimate-test-reporter
2831
- env: RUBOCOP=✓
29-
rvm: '2'
32+
rvm: '2.4.0'
3033
script: bundle exec rubocop
3134
before_install:
32-
allow_failures:
33-
- rvm: jruby-19mode
35+
- env: CHECK_RUBIES=✓
36+
rvm: '2.4.0'
37+
script: bundle exec travis_check_rubies
38+
before_install:
3439
addons:
3540
code_climate:
3641
repo_token:

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ if ENV['CODECLIMATE']
99
gem 'codeclimate-test-reporter'
1010
end
1111
end
12+
13+
if RUBY_VERSION >= '2.0'
14+
gem 'travis_check_rubies', '~> 0.2'
15+
end

0 commit comments

Comments
 (0)