language: ruby
sudo: false
rvm:
  - jruby-head
  - ruby-head
  - jruby-9.0.1.0
  - "2.2"
  - "2.1"
  - "2.0.0"
  - jruby-19mode
gemfile:
  - gemfiles/ar42.gemfile
  - gemfiles/ar41.gemfile
  - gemfiles/ar40.gemfile
  - gemfiles/ar32.gemfile
global:
  - JRUBY_OPTS="--dev"
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
rvm:
  - jruby-head
  - ruby-head
  - jruby-9.0.1.0
  - "2.2"
  - "2.1"
  - "2.0.0"
  - jruby-19mode
gemfile:
  - gemfiles/ar42.gemfile
  - gemfiles/ar41.gemfile
  - gemfiles/ar40.gemfile
  - gemfiles/ar32.gemfile
env:
  global:
    - JRUBY_OPTS="--dev"
  matrix:
    - ADAPTER="postgresql"
    - ADAPTER="derby"
    - ADAPTER="sqlite3"
matrix:
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/ar40.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/ar32.gemfile

Correct the global env syntax
Correct the global env syntax