---
before_install:
  - gem update --system
  - gem install bundler -v "~> 2.0"
language: ruby
sudo: false
cache:
  - bundler
rvm:
  - 2.5
  - 2.6
  - 2.7
  - jruby
matrix:
  allow_failures:
    - rvm: jruby
script: bundle exec rake spec

---
before_install:
  - gem update --system
  - gem install bundler -v "~> 2.0"

language: ruby
sudo: false
cache:
  - bundler

rvm:
  - 2.5
  - 2.6
  - 2.7
  - jruby

matrix:
  include:
    - os: linux
    - os: osx
  allow_failures:
    - rvm: jruby

script: bundle exec rake spec

Test against macOS as well.
Test against macOS as well.
