Skip to content

Commit

Permalink
Update CI setup for Rails 6 and Ruby 2.5 and 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mediafinger committed Jul 31, 2019
1 parent 79a292e commit 6fb9f81
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,7 @@ sudo: false
language: ruby
cache: bundler
before_install:
- gem update --system
- gem i rubygems-update -v '<3' && update_rubygems
- gem update bundler
gemfile:
- Gemfile
Expand All @@ -11,12 +11,15 @@ gemfile:
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
rvm:
- "2.1"
- "2.2"
- "2.3.4"
- "2.4.0"
- "2.4.1"
- "2.5"
- "2.6"
matrix:
exclude:
- rvm: "2.1"
Expand All @@ -31,3 +34,13 @@ matrix:
gemfile: gemfiles/rails_5_2.gemfile
- rvm: "2.2"
gemfile: gemfiles/rails_5_2.gemfile
- rvm: "2.1"
gemfile: gemfiles/rails_6_0.gemfile
- rvm: "2.2"
gemfile: gemfiles/rails_6_0.gemfile
- rvm: "2.3.4"
gemfile: gemfiles/rails_6_0.gemfile
- rvm: "2.4.0"
gemfile: gemfiles/rails_6_0.gemfile
- rvm: "2.4.1"
gemfile: gemfiles/rails_6_0.gemfile
5 changes: 5 additions & 0 deletions Appraisals
Expand Up @@ -22,3 +22,8 @@ appraise "rails-5-2" do
gem 'railties', '~> 5.2'
gem 'activesupport', '~> 5.2'
end

appraise "rails-6-0" do
gem 'railties', '~> 6.0'
gem 'activesupport', '~> 6.0'
end
8 changes: 8 additions & 0 deletions gemfiles/rails_6_0.gemfile
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "railties", "~> 6.0.0.rc2"
gem "activesupport", "~> 6.0.0.rc2"

gemspec path: "../"

0 comments on commit 6fb9f81

Please sign in to comment.