sudo: required

services:
  - docker

language: ruby

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
  - jruby-9.2.9.0
  - ruby-head
  - jruby-head

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

# Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978
# cache: bundler

script: bundle exec rake test

sudo: required

services:
  - docker

language: ruby

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
  - jruby-9.2.9.0

# Doesn't currently work with MRI 2.5.1: https://github.com/travis-ci/travis-ci/issues/8978
# cache: bundler

script: bundle exec rake test

Stop testing on MRI and JRuby HEAD
Stop testing on MRI and JRuby HEAD

I don't have the capability to react proactively on issues in unreleased
changes in Rubies, so we remove HEAD Rubies from Travis CI in order to
speed up the build.
