language: ruby
rvm:
  - "1.9.3"
  - "2.0"
  - "2.1"
  - "2.2"
  - ruby-head
  - jruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true

language: ruby
rvm:
  - "1.9.3"
  - "2.0"
  - "2.1"
  - "2.2"
  - ruby-head
  - jruby-head
before_install:
  - gem install bundler
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true

Use updated version of Bundler on Travis
Use updated version of Bundler on Travis

See various issues of this:
https://github.com/bundler/bundler/issues/3558
https://github.com/rubygems/rubygems/issues/1220
https://github.com/travis-ci/travis-ci/issues/3531
