language: ruby

rvm:
  - jruby-1.7.22
  - jruby-head

sudo: false

cache: bundler

script: bundle exec rspec -fs --color --order rand spec

notifications:
  webhooks: http://requestb.in/14h19sy1

matrix:
  allow_failures:
    - rvm: jruby-head

language: ruby

rvm:
  - jruby-1.7.22
  - jruby-head

jdk:
  - openjdk7
  - openjdk8

sudo: false

cache: bundler

script: bundle exec rspec -fs --color --order rand spec

notifications:
  webhooks: http://requestb.in/14h19sy1

matrix:
  allow_failures:
    - rvm: jruby-head

Test on Java 7 and Java 8
Test on Java 7 and Java 8

Supersedes https://github.com/travis-ci/travis-tasks/pull/40
