-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 3-9-maintenance CI failures #2360
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
02858cb
Bump Rubies
pirj 4fcdae4
Skip bootsnap like a no-AR app generator does
pirj c4ff60b
Fix gem source mistake
pirj c7b8a6c
Provide historical info to avoid confusion
pirj 6162f89
Make sure we use compatible i18n for old Rubies
pirj 8075525
Update rubygems to a newer version
pirj 088bce9
Cap dependencies for 2.2.10
pirj a53facb
Add error handling to bundler downgrade
pirj a7dd9d6
Fix sprockets dependency
pirj a87877e
Drop invalid cop
pirj 2b1e7fe
Fix undefined method `to_h` for ENV
pirj 102ba31
Mute RuboCop offence
pirj f5ebf79
Remove cops unknown to CI RuboCop version
pirj bed4459
Fix install-time gem version incompatibilities
pirj 89dd9ec
Backport skipping of a spec due to Rails bug
pirj 6a8fd07
Test a stable version of Rails 5.2 with Ruby 2.2
pirj 0a3703e
Avoid spring to be bundled
pirj 6e6a144
Cap Aruba and ffi to resolve version conflicts
pirj 5781ea1
Use the previous aruba for older Rails
pirj a8dd5e1
Add 5-2-stable Ruby 2.2 build to allowed failures
pirj 1dcff41
Clarify why a specific version of Aruba is used
pirj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -38,57 +38,61 @@ dist: trusty | |
matrix: | ||
include: | ||
# Rails dev / 6 builds >= 2.4.4 | ||
- rvm: 2.6.3 | ||
- rvm: 2.6.6 | ||
pirj marked this conversation as resolved.
Show resolved
Hide resolved
|
||
env: RAILS_VERSION=master | ||
- rvm: 2.5.3 | ||
- rvm: 2.5.8 | ||
env: RAILS_VERSION=master | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION=master | ||
|
||
# Rails 5.2 builds >= 2.2.2 | ||
- rvm: 2.6.3 | ||
- rvm: 2.6.6 | ||
env: RAILS_VERSION='~> 5.2.0' | ||
- rvm: 2.5.3 | ||
- rvm: 2.5.8 | ||
env: RAILS_VERSION='~> 5.2.0' | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION='~> 5.2.0' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 5.2.0' | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 5.2.0' | ||
# An incompatibility with Ruby 2.2 in Rails 5.2.4.0 (still not fixed 5.2.4.3) | ||
# prevents from testing against this combination. This bug is not in 5-2-stable: | ||
# lib/action_dispatch/request/session.rb:96: syntax error, unexpected '.' | ||
# id&.public_id | ||
env: RAILS_VERSION='5-2-stable' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On master we test both, and allow failure direct in the matrix. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you suggest adding a job for |
||
|
||
# Rails 5.1 Builds >= 2.2.2 | ||
- rvm: 2.6.3 | ||
- rvm: 2.6.6 | ||
env: RAILS_VERSION='~> 5.1.0' | ||
- rvm: 2.5.3 | ||
- rvm: 2.5.8 | ||
env: RAILS_VERSION='~> 5.1.0' | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION='~> 5.1.0' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 5.1.0' | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 5.1.0' | ||
|
||
# Rails 5.0 Builds >= 2.2.2 | ||
- rvm: 2.6.3 | ||
- rvm: 2.6.6 | ||
env: RAILS_VERSION='~> 5.0.0' | ||
- rvm: 2.5.3 | ||
- rvm: 2.5.8 | ||
env: RAILS_VERSION='~> 5.0.0' | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION='~> 5.0.0' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 5.0.0' | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 5.0.0' | ||
|
||
# Rails 4.2 Builds >= 1.9.3 | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION='~> 4.2.0' | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION=4-2-stable | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 4.2.0' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION=4-2-stable | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 4.2.0' | ||
|
@@ -108,9 +112,9 @@ matrix: | |
env: RAILS_VERSION=4-2-stable | ||
|
||
# Rails 4.1 Builds >= 1.9.3, < 2.4 | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 4.1.0' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION=4-1-stable | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 4.1.0' | ||
|
@@ -130,9 +134,9 @@ matrix: | |
env: RAILS_VERSION=4-1-stable | ||
|
||
# Rails 4.0 Builds >= 1.8.11, < 2.4 | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 4.0.4' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION=4-0-stable | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 4.0.4' | ||
|
@@ -152,9 +156,9 @@ matrix: | |
env: RAILS_VERSION=4-0-stable | ||
|
||
# Rails 3.2 Builds < 2.4 | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION='~> 3.2.17' | ||
- rvm: 2.3.7 | ||
- rvm: 2.3.8 | ||
env: RAILS_VERSION=3-2-stable | ||
- rvm: 2.2.10 | ||
env: RAILS_VERSION='~> 3.2.17' | ||
|
@@ -202,12 +206,17 @@ matrix: | |
env: RAILS_VERSION='~> 3.0.20' | ||
|
||
allow_failures: | ||
- rvm: 2.6.3 | ||
- rvm: 2.6.6 | ||
env: RAILS_VERSION=master | ||
- rvm: 2.5.3 | ||
- rvm: 2.5.8 | ||
env: RAILS_VERSION=master | ||
- rvm: 2.4.4 | ||
- rvm: 2.4.10 | ||
env: RAILS_VERSION=master | ||
- rvm: 2.2.10 | ||
# An actual incompatibility of 5.2.4.0-5.2.4.3 forces to use `5-2-stable`, | ||
# but there's a minor difference in the generated tests that results in a | ||
# minor failure. | ||
env: RAILS_VERSION='5-2-stable' | ||
fast_finish: true | ||
|
||
branches: | ||
|
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these just in line with 4-0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, those rules have diverged in #2272, and we got rid of
.rubocop_rspec_base.yml
altogether when separatedrspec-rails
from the rest of RSpec.