language: ruby

before_install:
  - gem update bundler

rvm:
  - 1.9.3
  - 2.1.9
  - 2.2.5
  - 2.3.1

gemfile:
  - test/gemfiles/Gemfile.rails-3.2.x
  - test/gemfiles/Gemfile.rails-4.0.x
  - test/gemfiles/Gemfile.rails-4.1.x
  - test/gemfiles/Gemfile.rails-4.2.x

matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.rails-4.1.x
    - rvm: 2.2.5
      gemfile: test/gemfiles/Gemfile.rails-3.2.x
    - rvm: 2.3.1
      gemfile: test/gemfiles/Gemfile.rails-3.2.x
  fast_finish: true

language: ruby

before_install:
  - gem update bundler

rvm:
  - 1.9.3
  - 2.1.9
  - 2.2.5
  - 2.3.1

gemfile:
  - test/gemfiles/Gemfile.rails-3.2.x
  - test/gemfiles/Gemfile.rails-4.0.x
  - test/gemfiles/Gemfile.rails-4.1.x
  - test/gemfiles/Gemfile.rails-4.2.x

matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: test/gemfiles/Gemfile.rails-4.1.x
    - rvm: 2.2.5
      gemfile: test/gemfiles/Gemfile.rails-3.2.x
    - rvm: 2.3.1
      gemfile: test/gemfiles/Gemfile.rails-3.2.x
  fast_finish: true

sudo: false

Use container-based CI, supposedly faster
Use container-based CI, supposedly faster

https://docs.travis-ci.com/user/migrating-from-legacy/
