---
language: ruby
sudo: false
before_install: "gem install bundler -v '< 2.0'"
script: "bundle exec rake ci"
rvm:
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.6
  - 2.5.5
  - 2.6.2
  - ruby-head
  - jruby-9.2.6.0
  - jruby-head
env:
  global:
    - JRUBY_OPTS="-Xcli.debug=true --debug"
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: jruby-9.2.6.0
  fast_finish: true
branches:
  only: master
notifications:
  email: false

---
language: ruby
before_install: "gem install bundler -v '< 2.0'"
script: "bundle exec rake ci"
rvm:
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.6
  - 2.5.5
  - 2.6.3
  - ruby-head
  - jruby-9.2.7.0
  - jruby-head
env:
  global:
    - JRUBY_OPTS="-Xcli.debug=true --debug"
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: jruby-9.2.7.0
  fast_finish: true
branches:
  only: master
notifications:
  email: false

Update matrix to latest releases
CI: Update matrix to latest releases

  - Also: The Travis setting sudo: false has been removed - See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration