---

addons:
  apt:
    packages:
      - google-chrome-stable

branches:
  only:
    - master
    - 1-4-stable

language: ruby

sudo: false

dist: trusty

bundler_args: --without development

cache: bundler

before_script:
  - bin/install_chromedriver.sh
  - unset _JAVA_OPTIONS

before_install:
  - gem update --system # use the very latest Rubygems
  - gem install bundler # use the very latest Bundler
  - rm "${BUNDLE_GEMFILE}.lock"

script:
  - bundle exec rake
  - bundle exec rake docs:build
  - bundle exec rake lint

rvm:
  - jruby-9.2.0.0

gemfile:
  - gemfiles/rails_42.gemfile
  - gemfiles/rails_50.gemfile
  - gemfiles/rails_51.gemfile
  - Gemfile

env:
  global:
    - JRUBY_OPTS="-J-Xmx1024m --dev --debug"
    - COVERAGE=true

matrix:
  fast_finish: true

---

addons:
  apt:
    packages:
      - google-chrome-stable

branches:
  only:
    - master
    - 1-4-stable

language: ruby

sudo: false

dist: trusty

bundler_args: --without development

cache: bundler

before_script:
  - bin/install_chromedriver.sh
  - unset _JAVA_OPTIONS

before_install:
  - gem update --system # use the very latest Rubygems
  - gem install bundler # use the very latest Bundler
  - rm "${BUNDLE_GEMFILE}.lock"

script:
  - bundle exec rake
  - bundle exec rake docs:build
  - bundle exec rake lint

rvm:
  - jruby-9.1.17.0
  - jruby-9.2.0.0

gemfile:
  - gemfiles/rails_42.gemfile
  - gemfiles/rails_50.gemfile
  - gemfiles/rails_51.gemfile
  - Gemfile

env:
  global:
    - JRUBY_OPTS="-J-Xmx1024m --dev --debug"
    - COVERAGE=true

matrix:
  fast_finish: true

Add jruby 9.1.17.0 to TravisCI
Add jruby 9.1.17.0 to TravisCI

It's not EOL'd and MRI 2.3 compatible, so I guess it's interesting to
see how it's doing.
