Skip to content

Commit

Permalink
Add independent Rails 5 and 6 to travis tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 19, 2019
1 parent aaec72a commit 5d6562d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,10 @@ matrix:
- rvm: 2.4
- rvm: 2.5
- rvm: 2.6
- rvm: 2.6
gemfile: gems/rails5.gemfile
- rvm: 2.6
gemfile: gems/rails6.gemfile
- rvm: 2.6
env: COVERAGE=BriefSummary,Coveralls
- rvm: ruby-head
Expand All @@ -17,3 +21,4 @@ matrix:
- rvm: ruby-head
- rvm: jruby-head
- rvm: truffleruby
- gemfile: gems/rails6.gemfile
2 changes: 1 addition & 1 deletion activerecord-configurations.gemspec
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activerecord", "~> 5.0"
spec.add_dependency "activerecord", ">= 5.0"

spec.add_dependency "build-environment", "~> 1.3"

Expand Down
4 changes: 4 additions & 0 deletions gems/rails5.gemfile
@@ -0,0 +1,4 @@

eval_gemfile("../Gemfile")

gem 'rails', '~> 5.0'
4 changes: 4 additions & 0 deletions gems/rails6.gemfile
@@ -0,0 +1,4 @@

eval_gemfile("../Gemfile")

gem 'rails', '~> 6.0.0.beta3'

0 comments on commit 5d6562d

Please sign in to comment.