-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `bundle update` across the board * Update various Ruby minor versions * Update main Ruby version to 2.7.1 * Update various Rails minor versions * Start testing against Rails 6.x
- Loading branch information
Showing
18 changed files
with
558 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.6.1 | ||
2.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
language: ruby | ||
sudo: false | ||
dist: xenial | ||
os: linux | ||
cache: | ||
directories: | ||
- vendor/bundle | ||
script: "bundle exec rake" | ||
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20> | ||
before_install: | ||
- gem update --system '2.7.8' --no-document | ||
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true | ||
- gem update --system '3.1.2' --no-document | ||
- gem uninstall -v '< 2' -i $(rvm gemdir)@global -ax bundler || true | ||
- gem install bundler -v '< 2' --no-document | ||
install: "bundle install --jobs=3 --retry=3 --path vendor/bundle" | ||
|
||
- nvm use v11.0.0 | ||
- bundle config set path vendor/bundle | ||
install: "bundle install --jobs=3 --retry=3" | ||
rvm: | ||
- 2.6.1 | ||
- 2.5.1 | ||
- 2.4.4 | ||
- 2.3.7 | ||
|
||
- 2.4.9 | ||
- 2.5.8 | ||
- 2.6.6 | ||
- 2.7.1 | ||
env: | ||
- TEST_FRAMEWORK=minitest | ||
- TEST_FRAMEWORK=test_unit | ||
|
||
gemfile: | ||
- gemfiles/rails_4_2.gemfile | ||
- gemfiles/rails_5_0.gemfile | ||
- gemfiles/rails_5_1.gemfile | ||
- gemfiles/rails_5_2.gemfile | ||
- gemfiles/rails_6_0.gemfile | ||
matrix: | ||
exclude: | ||
- rvm: 2.3.7 | ||
gemfile: gemfiles/rails_6_0.gemfile | ||
- rvm: 2.4.9 | ||
gemfile: gemfiles/rails_6_0.gemfile | ||
- rvm: 2.6.6 | ||
gemfile: gemfiles/rails_4_2.gemfile | ||
- rvm: 2.7.1 | ||
gemfile: gemfiles/rails_4_2.gemfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
shared_dependencies = proc do | ||
gem "sqlite3", "~> 1.3.6" | ||
end | ||
|
||
appraise "rails_4_2" do | ||
instance_eval(&shared_dependencies) | ||
|
||
gem "rails", "~> 4.2.0" | ||
gem "sprockets", "~> 3.0" | ||
gem "sqlite3", "~> 1.3.6" | ||
end | ||
|
||
appraise "rails_5_0" do | ||
instance_eval(&shared_dependencies) | ||
|
||
gem "rails", "~> 5.0.0" | ||
gem "sprockets", "~> 3.0" | ||
gem "sqlite3", "~> 1.3.6" | ||
end | ||
|
||
appraise "rails_5_1" do | ||
instance_eval(&shared_dependencies) | ||
|
||
gem "rails", "~> 5.1.0" | ||
gem "sprockets", "~> 3.0" | ||
gem "sqlite3", "~> 1.3.6" | ||
end | ||
|
||
appraise "rails_5_2" do | ||
instance_eval(&shared_dependencies) | ||
|
||
gem "rails", "~> 5.2.0" | ||
gem "sprockets", "~> 3.0" | ||
gem "sqlite3", "~> 1.3.6" | ||
end | ||
|
||
if Gem::Requirement.new(">= 2.5.0").satisfied_by?(Gem::Version.new(RUBY_VERSION)) | ||
appraise "rails_6_0" do | ||
gem "rails", "~> 6.0.0" | ||
gem "bootsnap", ">= 1.4.2", require: false | ||
gem "listen", ">= 3.0.5", "< 3.2" | ||
gem "sqlite3", "~> 1.4" | ||
gem "sprockets", "~> 4.0" | ||
gem "webpacker", "~> 4.0" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.