language: ruby
cache: bundler
sudo: false
rvm:
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
  - jruby-9.2.7.0

gemfile:
  - gemfiles/rspec3.4.gemfile
  - gemfiles/rspec-head.gemfile

before_install:
  - travis_retry gem update --system || travis_retry gem update --system 2.7.8
  - travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3

matrix:
  allow_failures:
    - rvm: ruby-head

language: ruby
cache: bundler
rvm:
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
  - jruby-9.2.7.0

gemfile:
  - gemfiles/rspec3.4.gemfile
  - gemfiles/rspec-head.gemfile

before_install:
  - travis_retry gem update --system || travis_retry gem update --system 2.7.8
  - travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3

matrix:
  allow_failures:
    - rvm: ruby-head

Remove unused sudo: false directive
Travis: Remove unused sudo: false directive

  - See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration for more details