language: ruby
script:   bundle exec rake spec:all
cache:    bundler
sudo:     false

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - ruby-head
  - jruby
  - jruby-head
  - rbx-2.4.1
  - rbx-2.5.3

gemfile:
  - gemfiles/rails_32.gemfile
  - gemfiles/rails_40.gemfile
  - gemfiles/rails_41.gemfile
  - gemfiles/rails_42.gemfile
  - gemfiles/rails_edge.gemfile

matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.1
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_32.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_32.gemfile
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby
    - rvm: jruby-head
    - rvm: rbx-2.4.1
    - rvm: rbx-2.5.3
    - gemfile: gemfiles/rails_edge.gemfile
  fast_finish: true

language: ruby
script:   bundle exec rake spec:all
cache:    bundler
sudo:     false

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - ruby-head
  - jruby
  - jruby-head
  - rbx-2.4.1
  - rbx-2.5.3

gemfile:
  - gemfiles/rails_32.gemfile
  - gemfiles/rails_40.gemfile
  - gemfiles/rails_41.gemfile
  - gemfiles/rails_42.gemfile
  - gemfiles/rails_edge.gemfile

matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.1
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_32.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_32.gemfile
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby
    - rvm: jruby-head
    - rvm: rbx-2.4.1
    - rvm: rbx-2.5.3
    - gemfile: gemfiles/rails_edge.gemfile
    - gemfile: gemfiles/rails_32.gem
  fast_finish: true

Allow rails 32 to fail on Travis
Allow rails 32 to fail on Travis
