-
-
Notifications
You must be signed in to change notification settings - Fork 1k
[wip] Ruby 2.4.0 support #1765
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
[wip] Ruby 2.4.0 support #1765
Conversation
You need to prevent rubocop from installing on 2.4 to prevent the incompatible json from installing, or upgrade rubocop. (I opted for the former in the other repos since I didn't want to mess with upgrading rubocop as part of this). Also, is the 1.8.7 segfault a new thing? |
cbf6ed8
to
ae6872c
Compare
@myronmarston this is passing on 2.4.0 and should get other builds back to green because of it, we should merge if the build failures match master which is also still failing (compare with https://travis-ci.org/rspec/rspec-rails/builds/184730807), let me know if you approve or otherwise :) |
@@ -211,8 +211,8 @@ def perform; end | |||
|
|||
it "passes with provided argument matchers" do | |||
expect { | |||
hello_job.perform_later(42, "David") | |||
}.to have_enqueued_job.with(instance_of(Fixnum), instance_of(String)) | |||
ignoring_warnings { hello_job.perform_later(42, "David") } |
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.
It'd be nice to document what warnings are being ignored here with a comment.
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.
We actually don't need that any more, git derp.
If this fixes the builds for the other repos, I'm in favor of merging it. I notice that on 1.8.7 we get some segfaults against certain versions of rails. should we remove those from the build matrix or something? |
@myronmarston I'd have to defer to @samphippen on that, Rails supports 1.8.7 on those versions so we really should check it, the seg fault seems intermittent perhaps we should retry them? We also need to fix 1.9.2 on master but both those things are for another PR, this should fix our builds. |
@JonRowe it looks like it's cucumber: https://travis-ci.org/rspec/rspec-rails/jobs/189500018#L4231 can you try bumping the cucumber version? |
Thanks, @JonRowe. Want to open a PR in each repo triggering a travis build so we can see if they go green now? Feel free to use the rspec-dev task to do that. |
I choose to restart the cron'd builds instead |
What cron are you talking about? I've been getting periodic build emails from travis for old commits of mine and had no idea why. Travis support mentioned a cron as the cause but I didn't know we setup a cron... |
Yeah it's a travis feature that runs master every so often unless a build has been run in that period, I set it up as an experiment as we have in the past come across broken master from downstream dependencies. Bit noisy when the build is broken though. |
* run ruby 2.4.0 builds * fix build on 2.4.0 by insisting on uptodate json * supress rubocop on 2.4.0 * Change active job spec to use literals thus avoiding Ruby 2.4.0 warning * disable 2.4.0 builds on unsupported Rubies * temporarily suppress builds that rails will eventually support
No description provided.