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

install:
  - gem install bundler

# Disable support for sudo to get faster builds with Docker
sudo: false

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

before_install:
  - gem install bundler

# Disable support for sudo to get faster builds with Docker
sudo: false

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

Install bundler as `before_install` hook on Travis.
Install bundler as `before_install` hook on Travis.

By overriding the `install` hook, Travis won't run `bundle install`.
Either we could add that or just run before the install step.
