language: ruby
sudo: false
rvm:
  - 2.3.1
  - jruby-9.1.0.0
  - 2.2
  - jruby-9.0.5.0
  - 2.1
  - 2.0.0
  - jruby-1.7.25
  - ruby-head
  - jruby-head
gemfile:
  - gemfiles/ar42.gemfile
  - gemfiles/ar41.gemfile
  - gemfiles/ar40.gemfile
  - gemfiles/ar32.gemfile
env:
  - ADAPTER="postgresql"
  - ADAPTER="derby"
  - ADAPTER="sqlite3"
matrix:
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/ar40.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/ar32.gemfile

language: ruby
sudo: false
jdk:
  - oraclejdk8
before_install: gem query -i -n ^bundler$ >/dev/null || gem install bundler
rvm:
  - 2.3.1
  - jruby-9.1.0.0
  - 2.2
  - jruby-9.0.5.0
  - 2.1
  - 2.0.0
  - jruby-1.7.25
  - ruby-head
  - jruby-head
gemfile:
  - gemfiles/ar42.gemfile
  - gemfiles/ar41.gemfile
  - gemfiles/ar40.gemfile
  - gemfiles/ar32.gemfile
env:
  - JRUBY_OPTS="--dev --debug" ADAPTER="postgresql"
  - JRUBY_OPTS="--dev --debug" ADAPTER="derby"
  - JRUBY_OPTS="--dev --debug" ADAPTER="sqlite3"
matrix:
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/ar40.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/ar32.gemfile

Install bundler on JRuby head before script
 Install bundler on JRuby head before script
