Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
Test with multiple versions of Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Apr 14, 2020
1 parent 6b36f78 commit 5e3c859
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
/pkg/
/spec/reports/
/tmp/
Gemfile.lock
*.lock
*.log
*.sqlite
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
dist: bionic
language: ruby
rvm: 2.7
gemfile: Gemfile
jobs:
include:
- rvm: 2.7
gemfile: Gemfile
- rvm: 2.6
gemfile: test/gemfiles/rails52.gemfile
- rvm: 2.5
gemfile: test/gemfiles/rails51.gemfile
- rvm: 2.4
gemfile: test/gemfiles/rails50.gemfile
script: bundle exec rake test
notifications:
email:
Expand Down
6 changes: 6 additions & 0 deletions test/gemfiles/rails50.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gemspec path: "../../"

gem "rails", "~> 5.0.0"
gem "sqlite3", "~> 1.3.0"
5 changes: 5 additions & 0 deletions test/gemfiles/rails51.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gemspec path: "../../"

gem "rails", "~> 5.1.0"
5 changes: 5 additions & 0 deletions test/gemfiles/rails52.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gemspec path: "../../"

gem "rails", "~> 5.2.0"

0 comments on commit 5e3c859

Please sign in to comment.