branches:
  only:
    - master
language: ruby
matrix:
  allow_failures:
    - rvm: ruby-head
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - 2.3.0
  - jruby
  - ruby-head

branches:
  only:
    - master
language: ruby
matrix:
  allow_failures:
    - rvm: ruby-head

install:
  - gem install bundler

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - 2.3.0
  - jruby
  - ruby-head

Install the latest bundler on Travis.
Install the latest bundler on Travis.

We're running into an issue with installing gems that _may_ be fixed by
a newer version of bundler. The error itself [1] may have been fixed by
Bundler#3559 [2].

1: "NoMethodError: undefined method `spec' for nil:NilClass"
2: https://github.com/bundler/bundler/pull/3559
