language: ruby
script: bundle exec rake test
sudo: false

rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"

before_install:
- gem update bundler

gemfile:
- gemfiles/Gemfile.activesupport42
- gemfiles/Gemfile.activesupport50
- gemfiles/Gemfile.activesupport52
- gemfiles/Gemfile.activesupport-master

matrix:
  exclude:
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport50
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport52
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport50
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport52
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.2"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.3"
      gemfile: gemfiles/Gemfile.activesupport-master

language: ruby
script: bundle exec rake test
sudo: false

rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"

before_install:
- gem update bundler

gemfile:
- gemfiles/Gemfile.activesupport42
- gemfiles/Gemfile.activesupport50
- gemfiles/Gemfile.activesupport52
- gemfiles/Gemfile.activesupport-master

matrix:
  exclude:
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport50
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport52
    - rvm: "2.0"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport50
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport52
    - rvm: "2.1"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.2"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.3"
      gemfile: gemfiles/Gemfile.activesupport-master
    - rvm: "2.4"
      gemfile: gemfiles/Gemfile.activesupport-master

Exclude active_support master from ruby 2.4 build
Exclude active_support master from ruby 2.4 build

Exclude active_support master from ruby 2.4 build since it is not
supported.

    activesupport-6.1.0.alpha requires ruby version >= 2.5.0, which is
    incompatible
