language: ruby

cache: bundler

sudo: false

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
  - ruby-head
  - jruby

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby
    # NOTE: The tests never pass with 1.9.3 since WebMock stopped supporting 1.9.
    - rvm: 1.9.3
  fast_finish: true

language: ruby

cache: bundler

sudo: false

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - ruby-head
  - jruby

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby
    # NOTE: The tests never pass with 1.9.3 since WebMock stopped supporting 1.9.
    - rvm: 1.9.3
  fast_finish: true

Add Ruby 2.5 to Travis CI.
Add Ruby 2.5 to Travis CI.

Update Rubies to update each version automatically.
