language: ruby
before_install:
  - gem update --system
  - gem update bundler
  - gem cleanup bundler
cache: bundler
matrix:
  fast_finish: true
  include:
    - rvm: 2.3.0
      gemfile:
        - gemfiles/rails_4.2.gemfile
        - gemfiles/rails_5.0.gemfile
    - rvm: 2.4.0
      gemfile:
        - gemfiles/rails_5.0.gemfile

language: ruby
before_install:
  - gem update --system
  - gem update bundler
  - gem cleanup bundler
cache: bundler
rvm:
  - 2.3.0
  - 2.4.0
gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
matrix:
  fast_finish: true
  exclude:
    - rvm: 2.4.0
      gemfile: gemfiles/rails4.2.gemfile

Switch to matrix exclude instead of matrix include
Switch to matrix exclude instead of matrix include
