Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
* Update Rubies to latest version.
* 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/
* Update it because Travis changed the behavior of "bundler install"
  to use --path.
  $ bundle install --path=${BUNDLE_PATH:-vendor/bundle}
  • Loading branch information
junaruga committed Apr 21, 2017
1 parent 44e5c13 commit f4d42b7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bundle
.rvmrc
.vagrant
Gemfile.lock
Gemfile.ruby_dep.lock
spec/.fixtures
coverage
.ruby-version
Expand Down
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,30 @@ bundler_args: --without development
before_install:
- gem install bundler
- gem update bundler
- gem install ruby_dep
- gem update ruby_dep
- bundle install --gemfile=Gemfile.ruby_dep --path vendor/bundle
rvm:
- 2.2.5
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head
- jruby-head
- rbx-2
- jruby-9.1.2.0
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-2
exclude:
- rvm: 2.3.4
os: osx
- rvm: 2.4.1
os: osx
- rvm: jruby-head
os: osx
- rvm: rbx-2
os: osx
fast_finish: true
os:
- linux
- osx
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.ruby_dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'ruby_dep'

0 comments on commit f4d42b7

Please sign in to comment.