language: ruby
rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - jruby-19mode

matrix:
  allow_failures:
    - rvm: jruby-19mode

gemfile:
  - gemfiles/rails31.gemfile
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
  - gemfiles/rails42.gemfile

language: ruby
rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - jruby-head

matrix:
  allow_failures:
    - rvm: jruby-head

gemfile:
  - gemfiles/rails31.gemfile
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
  - gemfiles/rails42.gemfile

Test on JRuby head because they fixed bug for us.
Test on JRuby head because they fixed bug for us.

https://github.com/jruby/jruby/commit/9a73dec4ceae78fc33fcc3beb3264897f3b6e316
