language: ruby
rvm:
  - 2.1.10
  - 2.2.8
  - 2.3.5
  - 2.4.5
  - 2.5.3
  - 2.6.3
  - jruby-9.1.15.0
gemfile:
  - gemfiles/rails1-4.gemfile
  - gemfiles/rails5.gemfile
matrix:
  exclude:
    - gemfile: gemfiles/rails5.gemfile
      rvm: 2.1.10
    - gemfile: gemfiles/rails5.gemfile
      rvm: jruby-9.1.6.0

before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'
  - export BUNDLE_PATH="${TRAVIS_BUILD_DIR}/vendor/bundle"
language: ruby
rvm:
  - 2.1.10
  - 2.2.8
  - 2.3.5
  - 2.4.5
  - 2.5.3
  - 2.6.3
  - jruby-9.1.15.0
gemfile:
  - gemfiles/rails1-4.gemfile
  - gemfiles/rails5.gemfile
matrix:
  exclude:
    - gemfile: gemfiles/rails5.gemfile
      rvm: 2.1.10
    - gemfile: gemfiles/rails5.gemfile
      rvm: jruby-9.1.6.0
    - gemfile: gemfiles/rails1-4.gemfile
      rvm: 2.5.3
    - gemfile: gemfiles/rails1-4.gemfile
      rvm: 2.6.3


before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'
  - export BUNDLE_PATH="${TRAVIS_BUILD_DIR}/vendor/bundle"
Exclude Rails 4 from MRI 2.5 and 2.6 tests
Exclude Rails 4 from MRI 2.5 and 2.6 tests 

