sudo: false
cache: bundler
language: ruby
matrix:
  include:
     - rvm: 2.0.0
     - rvm: 2.1
     - rvm: 2.2
     - rvm: 2.3.0
     - rvm: ruby-head
     - rvm: jruby-9.0.1.0
       env: JRUBY_OPTS='--debug' # get more accurate coverage data
     - rvm: rbx-3
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-3
  fast_finish: true
before_install: gem update --remote bundler
install:
  - bundle install --retry=3
script:
  - bundle exec rspec
  - bundle exec rubocop
addons:
  code_climate:
    repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f

sudo: false
cache: bundler
language: ruby
matrix:
  include:
     - rvm: 2.0.0
     - rvm: 2.1.10
     - rvm: 2.2.5
     - rvm: 2.3.1
     - rvm: ruby-head
     - rvm: jruby-9.0.1.0
       env: JRUBY_OPTS='--debug' # get more accurate coverage data
     - rvm: rbx-3
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-3
  fast_finish: true
before_install: gem update --remote bundler
install:
  - bundle install --retry=3
script:
  - bundle exec rspec
  - bundle exec rubocop
addons:
  code_climate:
    repo_token: a11b66bfbb1acdf220d5cb317b2e945a986fd85adebe29a76d411ad6d74ec31f

Test against up-to-date MRI's in Travis
Test against up-to-date MRI's in Travis

We're are relying on rvm's fuzzy matching, but only for some rubies,
since the version of rvm provided by Travis is not up to date enough to
be able to fuzzy match all rubies.

Also, it doesn't fuzzy match very good. For example, it's choosing 2.2.0
over 2.2.5. One would expect it to choose the latest.

Given all of the above, I think it's better to manually keep fully
qualified versions.
