language: ruby
sudo: false
env:
  - "RAILS_VERSION=4.2.8"
  - "RAILS_VERSION=5.0.2"
  - "RAILS_VERSION=5.1.0"
  - "RAILS_VERSION=master"
rvm:
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
matrix:
  exclude:
    - rvm: 2.1.10
      env: "RAILS_VERSION=5.0.2"
    - rvm: 2.1.10
      env: "RAILS_VERSION=5.1.0"
  allow_failures:
    - env: "RAILS_VERSION=master"

language: ruby
sudo: false
env:
  - "RAILS_VERSION=4.2.8"
  - "RAILS_VERSION=5.0.2"
  - "RAILS_VERSION=5.1.0"
  - "RAILS_VERSION=master"
rvm:
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
matrix:
  exclude:
    - rvm: 2.1.10
      env: "RAILS_VERSION=5.0.2"
    - rvm: 2.1.10
      env: "RAILS_VERSION=5.1.0"
    - rvm: 2.1.10
      env: "RAILS_VERSION=master"
  allow_failures:
    - env: "RAILS_VERSION=master"

Exclude rails master from testing with ruby 2.1
Exclude rails master from testing with ruby 2.1
