language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile
rvm:
  - '2.0'
  - '2.1'
  - '2.2'
  - 2.3.0
  - jruby-9.0.4.0
  - rbx-3
matrix:
  include:
    - rvm: jruby
      gemfile: gemfiles/rails_4.2.gemfile
      env: JRUBY_OPTS="--2.0"
    - rvm: 2.3.0
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: jruby-9.0.4.0
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: 2.3.0
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - gemfile: gemfiles/rails_head.gemfile

language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile
rvm:
  - '2.0'
  - '2.1'
  - '2.2'
  - 2.3.0
  - jruby-9.0.4.0
  - rbx-3
matrix:
  include:
    - rvm: jruby
      gemfile: gemfiles/rails_4.2.gemfile
      env: JRUBY_OPTS="--2.0"
    - rvm: 2.3.0
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: jruby-9.0.4.0
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: 2.3.0
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - rvm: rbx-3
    - gemfile: gemfiles/rails_head.gemfile

Allow rbx-3 builds to fail
Allow rbx-3 builds to fail