language: ruby

before_install:
  - gem i rubygems-update -v '3.0.4' && update_rubygems
  - gem i bundler -v '2.0.2'

bundler_args: --without benchmark --jobs=3 --retry=3

matrix:
  include:
    - rvm: 2.4.6
    - rvm: 2.5.5
    - rvm: 2.6.3
    - rvm: jruby-9.2.7.0
      env: JRUBY_OPTS=--debug
    - rvm: ruby-head
    - rvm: jruby-head
      env: JRUBY_OPTS=--debug
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
      env: JRUBY_OPTS=--debug
  fast_finish: true

language: ruby

before_install:
  - gem i rubygems-update -v '3.0.4' && update_rubygems
  - gem i bundler -v '2.0.2'

bundler_args: --without benchmark --jobs=3 --retry=3

matrix:
  include:
    - rvm: 2.4.6
    - rvm: 2.5.5
    - rvm: 2.6.3
    - rvm: jruby-9.2.7.0
      env: JRUBY_OPTS=--debug
      jdk: openjdk8
    - rvm: ruby-head
    - rvm: jruby-head
      env: JRUBY_OPTS=--debug
      jdk: openjdk8
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
      env: JRUBY_OPTS=--debug
  fast_finish: true

Use JDK8 to avoid JDK11 problems/failures
Use JDK8 to avoid JDK11 problems/failures

https://github.com/jruby/jruby/issues/5736
