language: ruby
sudo: false
cache: bundler
after_success:
  - coveralls
rvm:
    - 2.0.0
    - 2.1.9
    - 2.2.6
    - 2.3.3
    - 2.4.0
    - jruby-1.7.26
    - jruby-9.1.7.0

language: ruby
sudo: false
cache: bundler
after_success:
  - coveralls
rvm:
    - 2.0.0
    - 2.1.9
    - 2.2.6
    - 2.3.3
    - 2.4.0
    - ruby-head
    - jruby-1.7.26
    - jruby-9.1.7.0
    - jruby-head

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

Add ruby-head and jruby-head to test matrix
Add ruby-head and jruby-head to test matrix

This way we can already test future ruby versions
for incompatibilites and deprecations and provide
feedback upstream.

ruby-head and jruby-head are allowed failures so we can
still merge PRs if either of one fails.
