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

Add .travis.yml #161

Merged
merged 1 commit into from
Apr 26, 2017
Merged

Add .travis.yml #161

merged 1 commit into from
Apr 26, 2017

Conversation

junaruga
Copy link
Contributor

@junaruga junaruga commented Apr 22, 2017

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 and cucumber 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 referring rack.
https://github.com/rack/rack/blob/master/.travis.yml

Below code in .travis.yml is because of jruby-head environment.
jruby-head does not install Bundler as default.

  - which bundle || gem install bundler

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

  - gem list -i bundler || gem install bundler

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.

@junaruga junaruga force-pushed the feature/add-travis branch from 127f2a3 to 4b6f7af Compare April 22, 2017 17:03
@junaruga
Copy link
Contributor Author

@perlun The test was passed. Could you merge this PR (1 commit) at first?
Thanks.

@junaruga junaruga force-pushed the feature/add-travis branch 4 times, most recently from 3e69835 to 14dbd5e Compare April 22, 2017 22:27
* Add supported Rubies.
* Add ruby-head as allow_failures.
  * It's good to know new version Ruby's issue as faster before the release.
  * fast_finish is to get the Travis result as faster
    without waiting the result of the "allow_failures" items.
    See https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
* Add Gemfile.lock to .gitignore.
@junaruga junaruga force-pushed the feature/add-travis branch from 14dbd5e to b62fd14 Compare April 22, 2017 22:36
@perlun perlun merged commit 5c3fe94 into rack:master Apr 26, 2017
@perlun
Copy link
Contributor

perlun commented Apr 26, 2017

Thanks @junaruga, approved and merged now.

@junaruga junaruga deleted the feature/add-travis branch April 26, 2017 09:56
alex-damian-negru pushed a commit to alex-damian-negru/rack-test that referenced this pull request Apr 5, 2021
* Add supported Rubies.
* Add ruby-head as allow_failures.
  * It's good to know new version Ruby's issue as faster before the release.
  * fast_finish is to get the Travis result as faster
    without waiting the result of the "allow_failures" items.
    See https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
* Add Gemfile.lock to .gitignore.
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