language: ruby
cache: bundler
rvm:
  - jruby-9.1.8.0

install: bin/setup
script: jruby -G -S rake

dist: trusty
sudo: false

language: ruby
cache: bundler
rvm:
  - jruby-9.1.8.0
jdk:
  - openjdk8

install: bin/setup
script: jruby -G -S rake

Use trusty to set openjdk8 as jdk
Use trusty to set openjdk8 as jdk
