language: ruby
rvm:
  - 2.3
  - 2.4
  - 2.5
  - jruby
  - rbx-2
script: bundle exec rspec spec

gemfile:
  - gemfiles/Gemfile.activerecord-4.2.x
  - gemfiles/Gemfile.activerecord-5.1.x
  - gemfiles/Gemfile.activerecord-5.2.x
  - gemfiles/Gemfile.basic

language: ruby
rvm:
  - 2.3
  - 2.4
  - 2.5
  - jruby
  - rbx-3
script: bundle exec rspec spec

gemfile:
  - gemfiles/Gemfile.activerecord-4.2.x
  - gemfiles/Gemfile.activerecord-5.1.x
  - gemfiles/Gemfile.activerecord-5.2.x
  - gemfiles/Gemfile.basic

matrix:
  exclude:
    - rvm: jruby
      gemfile: gemfiles/Gemfile.activerecord-4.2.x

Exclude jruby with activerecord 4.2 and update rbx
Exclude jruby with activerecord 4.2 and update rbx
