language: ruby

rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.4
  - 2.3.1
  - ruby-head
  - jruby-9.1.5.0
  - rbx-2

gemfile:
  - gemfiles/mongoid_40.gemfile
  - gemfiles/mongoid_50.gemfile
  - gemfiles/mongoid_51.gemfile
  - gemfiles/mongoid_60.gemfile

sudo: false

services: mongodb

script: "bundle exec rake spec"

cache: bundler

matrix:
  exclude:
    - rvm: 2.0.0
      gemfile: gemfiles/mongoid_60.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/mongoid_60.gemfile
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-9.1.5.0
    - rvm: rbx-2
  fast_finish: true

language: ruby

before_install: gem install bundler -v 1.11.2

rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.4
  - 2.3.1
  - ruby-head
  - jruby-9.1.5.0
  - rbx-2

gemfile:
  - gemfiles/mongoid_40.gemfile
  - gemfiles/mongoid_50.gemfile
  - gemfiles/mongoid_51.gemfile
  - gemfiles/mongoid_60.gemfile

sudo: false

services: mongodb

script: "bundle exec rake spec"

cache: bundler

matrix:
  exclude:
    - rvm: 2.0.0
      gemfile: gemfiles/mongoid_60.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/mongoid_60.gemfile
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-9.1.5.0
    - rvm: rbx-2
  fast_finish: true

Revert "I guess Travis let's us use newer bundler by default now"
Revert "I guess Travis let's us use newer bundler by default now"

This reverts commit b0643ad713d0eb4c38f34d93695f650bb4d3ba6b.

reason: Not really.
