language: ruby
sudo: false
cache: bundler
rvm:
  - 2.2.6
  - 2.3.1
  - 2.4.1
  - ruby-head
gemfile:
  - gemfiles/rails_4_0.gemfile
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_5_0.gemfile
  - gemfiles/rails_master.gemfile
  - Gemfile
matrix:
  exclude:
    - rvm: 2.4.1
      gemfile: gemfiles/rails_4_0.gemfile
    - rvm: 2.4.1
      gemfile: gemfiles/rails_4_1.gemfile
  allow_failures:
    - rvm: ruby-head
    - rvm: 2.4.1
      gemfile: gemfiles/rails_4_2.gemfile
    - gemfile: gemfiles/rails_master.gemfile
  fast_finish: true
notifications:
  email: false
  irc:
    on_success: change
    on_failure: always
    channels:
      - "irc.freenode.org#rails-contrib"

language: ruby
sudo: false
cache: bundler
rvm:
  - 2.2.6
  - 2.3.1
  - 2.4.1
  - ruby-head
gemfile:
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_5_0.gemfile
  - gemfiles/rails_master.gemfile
  - Gemfile
matrix:
  allow_failures:
    - rvm: ruby-head
    - gemfile: gemfiles/rails_master.gemfile
  fast_finish: true
notifications:
  email: false
  irc:
    on_success: change
    on_failure: always
    channels:
      - "irc.freenode.org#rails-contrib"

Remove old gemfiles from Travis.
Remove old gemfiles from Travis.

Require Rails 4.2 to pass with Ruby 2.4.1 since it works
in the last couple of builds.
