language: ruby
before_install:
  - gem update --system
  - gem install bundler
bundler_args: --without dev
rvm:
  - 2.1.9
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.0
  - jruby-9.0.5.0
  - jruby-9.1.2.0
matrix:
  allow_failures:
    # rbx no longer builds on travis
    - rvm: rbx-2.4.1
    - rvm: rbx-2.5.8
  fast_finish: true

language: ruby
before_install:
  - gem install bundler -v '1.17.3'
bundler_args: --without dev
rvm:
  - 2.1.9
  - 2.2.9
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.0
  - jruby-9.0.5.0
  - jruby-9.1.2.0
matrix:
  allow_failures:
    # rbx no longer builds on travis
    - rvm: rbx-2.4.1
    - rvm: rbx-2.5.8
  fast_finish: true

Fix running tests with older rubies
Fix running tests with older rubies