Skip to content

Commit

Permalink
add travis builds down to ruby 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonborg committed Aug 5, 2017
1 parent 9852e4e commit d1fc5e9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: ruby

rvm:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.2
- 2.3.0
- 2.3.4
Expand All @@ -26,6 +29,15 @@ gemfile:
- gemfiles/rails_4.gemfile
- gemfiles/rails_5.gemfile

matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/rails_5.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails_5.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails_5.gemfile

env:
global:
- JRUBY_OPTS="$JRUBY_OPTS --debug"
Expand Down
14 changes: 5 additions & 9 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@

require 'pry'

if RUBY_VERSION < '2.4.0'
appraise 'rails-3' do
gem 'railties', '~> 3.2'
gem 'strong_parameters'
end
appraise 'rails-3' do
gem 'railties', '~> 3.2'
gem 'strong_parameters'
end

if RUBY_VERSION >= '1.9.3'
appraise 'rails-4' do
gem 'railties', '~> 4.2'
end
appraise 'rails-4' do
gem 'railties', '~> 4.2'
end

if RUBY_VERSION >= '2.2.2'
Expand Down

0 comments on commit d1fc5e9

Please sign in to comment.