language: ruby

sudo: false

cache: bundler

env:
  global:
    # Improves JRuby startup time.
    # See https://github.com/jruby/jruby/wiki/Improving-startup-time
    - "JRUBY_OPTS=--dev"

rvm:
  - 2.0.0
  - 2.1
  - 2.2
  - 2.3.1
  - jruby-9.1.5.0

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

script:
  - bundle exec rspec
  # Skip Overcommit run on JRuby since it's unstable and doesn't test actual functionality
  - '[[ $TRAVIS_RUBY_VERSION =~ ^jruby ]] && exit || true'
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

language: ruby

sudo: false

cache: bundler

env:
  global:
    # Improves JRuby startup time.
    # See https://github.com/jruby/jruby/wiki/Improving-startup-time
    - "JRUBY_OPTS=--dev"

rvm:
  - 2.0.0
  - 2.1
  - 2.2
  - 2.3.1
  - jruby-9.1.6.0

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

script:
  - bundle exec rspec
  # Skip Overcommit run on JRuby since it's unstable and doesn't test actual functionality
  - '[[ $TRAVIS_RUBY_VERSION =~ ^jruby ]] && exit || true'
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

Upgrade JRuby to latest release (9.1.6.0)
Upgrade JRuby to latest release (9.1.6.0)

9.1.6.0 was releases yesterday