language: ruby
sudo: false
before_script:
  - bundle update
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - ruby-head
  - jruby-19mode
  - jruby-9.0.5.0
  - jruby-head
  - rbx-2
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

language: ruby
sudo: false
before_script:
  - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system; fi
  - gem --version
  - if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi
  - bundle --version
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.9
  - 2.5.7
  - 2.6.5
  - 2.7.0-rc2
  - ruby-head
  - jruby-1.7.27
  - jruby-9.1.17.0
  - jruby-9.2.9.0
  - jruby-head
  - rbx-3.107
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

Update CI test Ruby versions.
Update CI test Ruby versions.
