language: ruby

dist: trusty

matrix:
  include:
    - rvm: 2.1
    - rvm: 2.2
    - rvm: ruby-2.3.0
    - rvm: jruby
      env:
        - JRUBY_OPTS="--2.0"
    - rvm: jruby-9000

before_install:
  - gem install bundler

script:
  - rake
  - rubocop

language: ruby

dist: trusty

matrix:
  include:
    - rvm: 2.1
    - rvm: 2.2
    - rvm: ruby-2.3.0
    - rvm: jruby-1.7.22
      env:
        - JRUBY_OPTS="--2.0"
    - rvm: jruby-9000

before_install:
  - gem install bundler

script:
  - rake
  - rubocop

Install jruby-1.7.22 to use --2.0
Install jruby-1.7.22 to use --2.0
