Skip to content

Commit

Permalink
Add Rails 5.1 to Appraisals and Travis CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
maclover7 committed Feb 24, 2017
1 parent d681311 commit a1d0d10
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ gemfile:
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile

matrix:
allow_failures:
Expand All @@ -32,14 +33,24 @@ matrix:
exclude:
- rvm: 1.9
gemfile: gemfiles/rails_5_0.gemfile
- rvm: 1.9
gemfile: gemfiles/rails_5_1.gemfile
- rvm: 2.0
gemfile: gemfiles/rails_5_0.gemfile
- rvm: 2.0
gemfile: gemfiles/rails_5_1.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5_0.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5_1.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/rails_5_0.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/rails_5_1.gemfile
- rvm: rbx
gemfile: gemfiles/rails_5_0.gemfile
- rvm: rbx
gemfile: gemfiles/rails_5_1.gemfile
- rvm: 2.4.0
gemfile: gemfiles/rails_3_0.gemfile
- rvm: 2.4.0
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,9 @@ appraise "rails-5-0" do
gem "actionpack", "~> 5.0.0"
gem "activemodel", "~> 5.0.0"
end

appraise "rails-5-1" do
gem "railties", ">= 5.1.0.beta1", "< 5.2"
gem "actionpack", ">= 5.1.0.beta1", "< 5.2"
gem "activemodel", ">= 5.1.0.beta1", "< 5.2"
end
13 changes: 13 additions & 0 deletions gemfiles/rails_5_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rake"
gem "mocha", :require => false
gem "appraisal"
gem "pry"
gem "railties", ">= 5.1.0.beta1", "< 5.2"
gem "actionpack", ">= 5.1.0.beta1", "< 5.2"
gem "activemodel", ">= 5.1.0.beta1", "< 5.2"

gemspec :path => "../"

0 comments on commit a1d0d10

Please sign in to comment.