language: ruby

cache: bundler

before_install:
  - gem update --system
  - gem install bundler

env:
  global:
    # --dev improves JRuby startup time
    # --debug reports proper coverage to SimpleCov
    # See https://github.com/jruby/jruby/wiki/Improving-startup-time
    - JRUBY_OPTS="--dev --debug"

rvm:
  - 2.3.8
  - 2.4.6
  - 2.5.5
  - 2.6.3
  - ruby-head
  - jruby-9.2.7.0

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-9.2.7.0
  fast_finish: true

language: ruby

cache: bundler

before_install:
  - gem update --system
  - gem install bundler

env:
  global:
    # --dev improves JRuby startup time
    # --debug reports proper coverage to SimpleCov
    # See https://github.com/jruby/jruby/wiki/Improving-startup-time
    - JRUBY_OPTS="--dev --debug"

rvm:
  - 2.3.8
  - 2.4.9
  - 2.5.7
  - 2.6.5
  - ruby-head
  - jruby-9.2.8.0

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-9.2.8.0
  fast_finish: true

Test against latest Ruby versions
Test against latest Ruby versions