Skip to content
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 CI failures #374

Merged
merged 3 commits into from
Jan 7, 2020
Merged

Fix CI failures #374

merged 3 commits into from
Jan 7, 2020

Conversation

dentarg
Copy link
Collaborator

@dentarg dentarg commented Jan 7, 2020

  • Bump Ruby versions

  • Fix JRuby CI failures

    JRuby 9.1.17.0 and 9.2.6.0 failed on bundle install when they used
    Bundler 2.1.2. Last green build used Bundler 2.0.2. JRuby
    9.2.7.0 and up works with Bundler 2.1.x.

    Did not manage to remove Bundler 2.1.4 from Travis with just one "gem
    uninstall ..." command, don't know why.

See oracle/truffleruby#1857

Also specify the version we test against, instead of having it change
unexpectedly.
JRuby 9.1.17.0 and 9.2.6.0 failed on bundle install when they used
Bundler 2.1.2.[1][2] Last green build[3] used Bundler 2.0.2. JRuby
9.2.7.0 and up works with Bundler 2.1.x[4].

Did not manage to remove Bundler 2.1.4 from Travis with just one "gem
uninstall ..." command, don't know why.

1: https://travis-ci.org/sporkmonger/addressable/jobs/629762474
2: https://travis-ci.org/sporkmonger/addressable/jobs/629762473
3: https://travis-ci.org/sporkmonger/addressable/builds/583018677
4: https://travis-ci.org/dentarg/addressable/builds/633344956

# Remove when truffleruby 19.3.1 is out, see
# https://github.com/oracle/truffleruby/issues/1857#issuecomment-567976167
gem 'json', '~> 2.2.0' if RUBY_ENGINE == 'truffleruby'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@dentarg dentarg merged commit 7311daa into sporkmonger:master Jan 7, 2020
@dentarg dentarg deleted the ci/fixes branch January 7, 2020 12:34
dentarg added a commit to dentarg/addressable that referenced this pull request Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants