language: ruby

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - ruby-head
  - jruby-19mode
  - rbx

gemfile:
  - gemfiles/rails_3_0.gemfile
  - gemfiles/rails_3_1.gemfile
  - gemfiles/rails_3_2.gemfile
  - gemfiles/rails_4_0.gemfile
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_2.gemfile

matrix:
  exclude:
    - rvm: 2.2
      gemfile: gemfiles/rails_3_0.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_3_2.gemfile

  allow_failures:
    - rvm: jruby-19mode
    - rvm: rbx
    - rvm: ruby-head
  fast_finish: true

notifications:
  email: false

language: ruby

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - ruby-head
  - jruby-19mode
  - rbx

gemfile:
  - gemfiles/rails_3_0.gemfile
  - gemfiles/rails_3_1.gemfile
  - gemfiles/rails_3_2.gemfile
  - gemfiles/rails_4_0.gemfile
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_2.gemfile

matrix:
  exclude:
    - rvm: ruby-head
      gemfile: gemfiles/rails_3_0.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_3_2.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_3_0.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_3_2.gemfile

  allow_failures:
    - rvm: jruby-19mode
    - rvm: rbx
    - rvm: ruby-head
  fast_finish: true

notifications:
  email: false

Exclude CI builds on ruby-head for rails 3.*
Exclude CI builds on ruby-head for rails 3.*
