Skip to content

Commit

Permalink
Chore: upgrade ruby and rails versions to run tests against
Browse files Browse the repository at this point in the history
Drop support for rails 4.2 and 5.0
Drop support for ruby 2.2.x, 2.3.x and 2.4.x
  • Loading branch information
kernow committed May 1, 2019
1 parent 611d95a commit f5c3116
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 25 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
language: ruby

rvm:
- 2.2.8
- 2.3.5
- 2.4.2
- 2.5.5
- 2.6.3
- ruby-head
- jruby-9.1.9.0
- jruby-head

sudo: false

Expand All @@ -14,13 +13,12 @@ script:
- bin/rubocop

before_install:
- gem install bundler -v 1.16.0
- gem install bundler -v 2.0.1

matrix:
allow_failures:
- rvm: ruby-head

gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
12 changes: 4 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
appraise "rails-4.2" do
gem "rails", "4.2.10"
end

appraise "rails-5.0" do
gem "rails", "5.0.6"
appraise "rails-5.1" do
gem "rails", "5.1.7"
end

appraise "rails-5.1" do
gem "rails", "5.1.4"
appraise "rails-5.2" do
gem "rails", "5.2.3"
end
8 changes: 0 additions & 8 deletions gemfiles/rails_4.2.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/rails_5.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source "https://rubygems.org"

gem "appraisal", "2.2.0"
gem "rails", "5.1.4"
gem "rails", "5.1.7"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_5.0.gemfile → gemfiles/rails_5.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source "https://rubygems.org"

gem "appraisal", "2.2.0"
gem "rails", "5.0.6"
gem "rails", "5.2.3"

gemspec path: "../"

0 comments on commit f5c3116

Please sign in to comment.