language: ruby
sudo: false
before_install:
  - gem install bundler -v '~> 1.13'
rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.6
  - 2.3.3
gemfile:
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile

language: ruby
sudo: false
before_install:
  - gem install bundler -v '~> 1.13'
rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.6
  - 2.3.3
gemfile:
  - gemfiles/rails_4.0.gemfile
  - gemfiles/rails_4.1.gemfile
  - gemfiles/rails_4.2.gemfile
matrix:
  exclude:
  - rvm: 2.0.0
    gemfile: gemfiles/rails_4.2.gemfile

Exclude Ruby 2.0 / Rails 4.2.x build from Travis
Exclude Ruby 2.0 / Rails 4.2.x build from Travis

`actionpack` requires `rails-html-sanitizer`, which requires `loofah`
which requires `nokogiri`. `nokogiri-1.7.0` requires ruby version
>= 2.1.0, so the fastest thing we can do is to exclude this
configuration from the build matrix