language: ruby
dist: trusty
sudo: false
before_install:
  - if [[ $TRAVIS_RUBY_VERSION = rbx-3.86 ]]; then gem update --system 2.6.14; fi
  - gem update bundler
before_script:
  - bundle update
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.10
  - 2.2.8
  - 2.3.5
  - 2.4.2
  - ruby-head
  - jruby-1.7.27
  - jruby-9.1.13.0
  - jruby-head
  - rbx-3.86
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

language: ruby
dist: trusty
sudo: false
before_install:
  - gem update bundler
before_script:
  - bundle update
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.10
  - 2.2.8
  - 2.3.5
  - 2.4.2
  - ruby-head
  - jruby-1.7.27
  - jruby-9.1.13.0
  - jruby-head
  - rbx-3.86
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3.86

Revert the attempted rbx workaround and add to allow_failures for now.
Revert the attempted rbx workaround and add to allow_failures for now.

Downgrading RubyGems doesn't fix the 'Missing or uninitialized constant:
Bundler::Deprecate' error (probably requires Bundler to be downgraded
to).
