language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.6
  - 2.3.3
  - 2.4.0
  - ruby-head
  - jruby-19mode
  - jruby-9.1.7.0
env:
  - RSPEC_VERSION=2.14
  - RSPEC_VERSION=2.99
  - RSPEC_VERSION=3.0
  - RSPEC_VERSION=3.5
  - RSPEC_VERSION=head
matrix:
  allow_failures:
    - rvm: ruby-head
before_install: gem update --remote bundler
script: bundle exec rake ci
sudo: false
cache: bundler

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.6
  - 2.3.3
  - 2.4.0
  - ruby-head
  - jruby-19mode
  - jruby-9.1.7.0
env:
  - RSPEC_VERSION=2.14
  - RSPEC_VERSION=2.99
  - RSPEC_VERSION=3.0
  - RSPEC_VERSION=3.5
  - RSPEC_VERSION=head
matrix:
  allow_failures:
    - rvm: ruby-head
before_install:
  - gem update --system # https://github.com/sickill/rainbow/issues/49
  - gem update --remote bundler
script: bundle exec rake ci
sudo: false
cache: bundler

Update Rubygems on Travis CI to avoid installation error
Update Rubygems on Travis CI to avoid installation error
