rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - 2.2.2
  - jruby-19mode
  - rbx-2
before_install:
  - gem update --system
install: "bundle install"
script: "bundle exec rake spec:unit spec:acceptance features"
jdk:
  - openjdk6
gemfile:
  - gemfiles/3.2.gemfile
  - gemfiles/4.0.gemfile
  - gemfiles/4.1.gemfile
  - gemfiles/4.2.gemfile
branches:
  only:
    - master

sudo: false
cache: bundler

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - 2.2.2
  - jruby-19mode
  - rbx-2
before_install:
  - gem update --system
  - gem update bundler
install: "bundle install"
script: "bundle exec rake spec:unit spec:acceptance features"
jdk:
  - openjdk6
gemfile:
  - gemfiles/3.2.gemfile
  - gemfiles/4.0.gemfile
  - gemfiles/4.1.gemfile
  - gemfiles/4.2.gemfile
branches:
  only:
    - master

sudo: false
cache: bundler

Update bundler before in Travis CI builds
Update bundler before in Travis CI builds

Builds are broken because the `bundler` version that Travis CI
automatically uses at this time (`1.7.6`) is coming across an
error that was fixed in a later version/release.

Having an outdated version of `bundler` in the Travis CI builds is an
ongoing issue and this is currently the easiest work-around.

See:

* https://github.com/bundler/bundler/issues/3558
* https://github.com/travis-ci/travis-ci/issues/3531

[fixes #846]
