language: ruby

sudo: false

cache: bundler

services:
  - redis-server

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - jruby-19mode

before_script:
  - git config --local user.email "travis@travis.ci"
  - git config --local user.name "Travis CI"

script:
  - bundle exec rspec
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

matrix:
  allow_failures:
    - rvm: 2.1.0

language: ruby

sudo: false

cache: bundler

services:
  - redis-server

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - 2.3.0
  - jruby-19mode

before_script:
  - git config --local user.email "travis@travis.ci"
  - git config --local user.name "Travis CI"

script:
  - bundle exec rspec
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

matrix:
  allow_failures:
    - rvm: 2.1.0

Add Ruby 2.3 to Travis build matrix
Add Ruby 2.3 to Travis build matrix

We specify "2.3.0" instead of the "2.3" shortcut as Travis still doesn't
support the shortcut for the 2.3.x series [1].

[1] https://twitter.com/travisci/status/681909200591654913
