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.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

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.0
  - jruby-head

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

Test against JRuby 9000 instead of 1.9 mode
Test against JRuby 9000 instead of 1.9 mode

Since we've dropped support for Ruby 1.9.3, we technically no longer
support JRuby in 1.9 mode. Update to testing against JRuby head (not
ideal, but I'm not sure how to test against a stable version of 9000 as
Travis doesn't seem to offer one yet?)
