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.
The PR to add Travis test environment.
I added officially supported Rubies.
I added ruby-head as allow_failures.
I think this is a good practice.
Because we can see the result for the next version Ruby as faster.
We can see it in
rails
,rspec
andcucumber
and etc too.https://github.com/rails/rails/blob/master/.travis.yml
https://github.com/rspec/rspec-core/blob/master/.travis.yml
https://github.com/cucumber/cucumber-ruby/blob/master/.travis.yml
I decided
rack-test
supported platforms referringrack
.https://github.com/rack/rack/blob/master/.travis.yml
Below code in
.travis.yml
is because ofjruby-head
environment.jruby-head
does not install Bundler as default.Below code that is used in
rack/rack
does not work. I do not know why.https://travis-ci.org/rack-test/rack-test/jobs/224783394
jruby-9.1.8.0
is latest stable version of JRuby.http://jruby.org/download
About Rubinious, I tried to set below values, but failed to detect those from Travis.
rbx-2
,rbx-3
,rbx-3.74
So, I dropped those right now.
rbx
is really not stable on Travis.