---
language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.2
  - 2.3.0
gemfile:
  - gemfiles/Gemfile.rails-3.2
  - gemfiles/Gemfile.rails-4.0
  - gemfiles/Gemfile.rails-4.1
  - gemfiles/Gemfile.rails-5.0

---
language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.2
  - 2.3.0
gemfile:
  - gemfiles/Gemfile.rails-3.2
  - gemfiles/Gemfile.rails-4.0
  - gemfiles/Gemfile.rails-4.1
  - gemfiles/Gemfile.rails-5.0
matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.rails-5.0
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.rails-5.0
    - rvm: 2.1.2
      gemfile: gemfiles/Gemfile.rails-5.0

Exclude Rails 5.0 tests from old ruby versions
Exclude Rails 5.0 tests from old ruby versions

Rails 5 requires ruby >= 2.2.2, so don't run the tests for Rails
5 on anything below that.
