language: ruby
sudo: false
before_install:
  - gem install bundler -v '~> 1.11'
rvm:
  - 1.9.3
  - jruby-19mode
  - 2.0
  - 2.1.10
  - 2.2.4
  - 2.3.0
  - rbx-2
gemfile:
  - gemfiles/rails_3.2.gemfile
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile
matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.0.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.1.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.2.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.0.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.1.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.2.gemfile
    - rvm: 2.2.4
      gemfile: gemfiles/rails_3.2.gemfile
    - rvm: 2.3.0
      gemfile: gemfiles/rails_3.2.gemfile
  allow_failures:
    - rvm: rbx-2

language: ruby
sudo: false
before_install:
  - gem install bundler -v '~> 1.11'
rvm:
  - 1.9.3
  - jruby-19mode
  - 2.0
  - 2.1.10
  - 2.2.5
  - 2.3.1
  - rbx-2
gemfile:
  - gemfiles/rails_3.2.gemfile
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile
matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.0.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.1.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails_4.2.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.0.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.1.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_4.2.gemfile
    - rvm: 2.2.5
      gemfile: gemfiles/rails_3.2.gemfile
    - rvm: 2.3.1
      gemfile: gemfiles/rails_3.2.gemfile
  allow_failures:
    - rvm: rbx-2

Test against ruby 2.2.5 and 2.3.1
Test against ruby 2.2.5 and 2.3.1