language: ruby
before_install:
  - gem install bundler

matrix:
  include:
    - rvm: 2.5.1
      script: bundle exec rake rubocop # ONLY lint once, first
    - rvm: 2.1
    - rvm: 2.2.8
    - rvm: 2.3.5
    - rvm: 2.4.2
    - rvm: 2.5.1
    - rvm: 2.6.0
    - rvm: jruby-9.1.8.0
      env:
        - JRUBY_OPTS="--debug"
    - rvm: jruby-9.2.5.0
      env:
        - JRUBY_OPTS="--debug"

language: ruby
before_install:
  - gem install bundler

matrix:
  include:
    - rvm: 2.5.1
      script: bundle exec rake rubocop # ONLY lint once, first
    - rvm: 2.3.5
    - rvm: 2.4.2
    - rvm: 2.5.1
    - rvm: 2.6.0
    - rvm: jruby-9.1.8.0
      env:
        - JRUBY_OPTS="--debug"
    - rvm: jruby-9.2.5.0
      env:
        - JRUBY_OPTS="--debug"

Remove support for Ruby 2.1 and 2.2 in CI
Remove support for Ruby 2.1 and 2.2 in CI

Official support for 2.1 and 2.2 has ended a while ago, so let's not
run it in CI anymore.

https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/
https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/
