---
language: ruby
sudo: false
cache:
  - bundler
rvm:
  - 2.1.9
  - 2.2.4
  - 2.3.1
  - jruby
  - rbx
matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx
script: bundle exec rake spec

---
before_install:
  - gem update --system
  - gem install bundler -v "~> 2.0"
language: ruby
sudo: false
cache:
  - bundler
rvm:
  - 2.1.9
  - 2.2.4
  - 2.3.1
  - jruby
  - rbx
matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx
script: bundle exec rake spec

Install bundler 2 on Travis.
Install bundler 2 on Travis.
