language: ruby
env:
  - ARUBA_TIMEOUT=240
before_install:
  - gem update --system
  - gem update bundler
  - gem cleanup bundler
cache: bundler
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
branches:
  only:
    - master
install:
  - "bundle install --retry 3 --jobs 8"
gemfile:
  - gemfiles/rails4.2.gemfile
  - gemfiles/rails5.0.gemfile
  - gemfiles/rails5.1.gemfile
  - gemfiles/rails5.2.gemfile
matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

language: ruby
env:
  - ARUBA_TIMEOUT=240
before_install:
  - gem update --system
  - rvm @default,@global do gem uninstall bundler -v 2.0.1 -x
cache: bundler
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
branches:
  only:
    - master
install:
  - "bundle install --retry 3 --jobs 8"
gemfile:
  - gemfiles/rails4.2.gemfile
  - gemfiles/rails5.0.gemfile
  - gemfiles/rails5.1.gemfile
  - gemfiles/rails5.2.gemfile
matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

Use an older version of bundler
Use an older version of bundler

Rails 4.2 requires bundler < 2.0, but on travis are getting 2.0.1
There is probably a better way to do this so we don't have to update
this every time travis starts using a new version, but I am going to
merge this for now to unblock the release of 5.0.0.rc1
