---
language: ruby
sudo: false
cache: bundler
before_install: "gem update bundler"
script: "bundle exec rake ci"
rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.4
  - 2.5.1
  - ruby-head
  - jruby-9.1.5.0
  - jruby-head
env:
  global:
    - JRUBY_OPTS="-Xcli.debug=true --debug"
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true
branches:
  only: master
notifications:
  email: false

---
language: ruby
sudo: false
cache: bundler
before_install: "gem update bundler"
script: "bundle exec rake ci"
rvm:
  - 2.0.0
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.4
  - 2.5.1
  - ruby-head
  - jruby-9.1.5.0
  - jruby-head
env:
  global:
    - JRUBY_OPTS="-Xcli.debug=true --debug"
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: jruby-9.1.5.0
  fast_finish: true
branches:
  only: master
notifications:
  email: false

Change to allow failure on jruby
Change to allow failure on jruby
