# Copyright 2017 Holger Just
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE.txt file for details.

language: ruby
sudo: false

cache: bundler

rvm:
  # Latest Rubies on top
  - 2.4.0
  - jruby-9.1.7.0

  # Older versions
  - 2.3.3
  - 2.2.6
  - 2.1.10
  - jruby-9.0.5.0

  # HEAD-Rubies (might break)
  - ruby-head
  - jruby-head

jdk:
  - oraclejdk8

env:
  - COVERAGE=1

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

before_install:
  - "gem install bundler"

script:
  - bundle exec rspec

# Copyright 2017 Holger Just
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE.txt file for details.

language: ruby
sudo: false

cache: bundler

rvm:
  # Latest Rubies on top
  - 2.4.0
  - jruby-9.1.7.0

  # Older versions
  - 2.3.3
  - 2.2.6
  - 2.1.10
  - jruby-9.0.5.0

  # HEAD-Rubies (might break)
  - ruby-head
  - jruby-head

jdk:
  - oraclejdk8

matrix:
  include:
    - rvm: 2.3.3
      jdk: oraclejdk8
      env: COVERAGE=1

  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

before_install:
  - "gem install bundler"

script:
  - bundle exec rspec

Test coverage in a special job on Travis-CI due to sub-par coverage results for JRuby
Test coverage in a special job on Travis-CI due to sub-par coverage results for JRuby
