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

Test with Ruby 2.7 #524

Merged
merged 7 commits into from May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 15 additions & 18 deletions .travis.yml
@@ -1,39 +1,36 @@
language: ruby
sudo: false
cache: bundler

rvm:
- 2.5.3
- 2.4.5
- 2.3.8
- 2.2.9
- 2.1.10
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
Comment on lines +5 to +11
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should pick the latest patch version, so it doesn't have to be micro-managed with every patch release.

- ruby-head
- jruby-9.2.11.1
- jruby-9.0.5.0
- jruby-head
- truffleruby

matrix:
fast_finish: true
include:
- rvm: 2.5.3
- rvm: 2.7
name: "Run Danger and Code Climate"
before_script:
- bundle exec danger
after_script:
- bundle exec codeclimate-test-reporter
- rvm: 2.5.3
- rvm: 2.7
name: "Integration Tests"
install:
- for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle; done
script:
- set -e ; for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle exec rspec $dir; done
- rvm: 2.6.6
dist: bionic
Comment on lines -27 to -28
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw that this was tested on bionic, but is there a specific reason why 2.6 would need to be tested on bionic and the rest not?

Copy link
Member

Choose a reason for hiding this comment

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

No specific reason.

Copy link
Collaborator

Choose a reason for hiding this comment

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

There was some reason, but I don't remember what it was 😅

- rvm: rbx-3
dist: trusty
bundler_args: --retry 0
- rvm: jruby-9.0.5.0
dist: trusty
- rvm: jruby-head
dist: trusty
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-3
- rvm: truffleruby
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,7 @@ Any violations of this scheme are considered to be bugs.
### Changed

* [#521](https://github.com/hashie/hashie/pull/499): Do not convert keys that cannot be represented as symbols to `String` in `Mash` initialization - [@carolineartz](https://github.com/carolineartz).
* [#524](https://github.com/hashie/hashie/pull/524): Test with Ruby 2.7 - [@aried3r](https://github.com/aried3r).
* Your contribution here.

### Deprecated
Expand Down