cache: bundler

language:
  - ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0

gemfile:
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails50.gemfile

matrix:
  allow_failures:
    - gemfile: gemfiles/rails50.gemfile
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.1.8
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.2.4
      gemfile: gemfiles/rails32.gemfile
    - rvm: 2.3.0
      gemfile: gemfiles/rails32.gemfile

install:
  - "bin/setup"

branches:
  only:
    - master

sudo: false

cache: bundler

language:
  - ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0

gemfile:
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails50.gemfile

matrix:
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.1.8
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.2.4
      gemfile: gemfiles/rails32.gemfile
    - rvm: 2.3.0
      gemfile: gemfiles/rails32.gemfile

install:
  - "bin/setup"

branches:
  only:
    - master

sudo: false

Remove Rails 5 from allowed failures
Remove Rails 5 from allowed failures
