language: ruby
sudo: false

rvm:
  - "1.9"
  - "2.0"
  - "2.1"
  - "2.2"
  - jruby-19mode
  - rbx-2

install:
  - bundle install --retry=3

env:
  - ACTIVE_RECORD_BRANCH="master"
  - ACTIVE_RECORD_VERSION="~> 4.2.0"
  - ACTIVE_RECORD_VERSION="~> 4.1.0"
  - ACTIVE_RECORD_VERSION="~> 4.0.0"
  - ACTIVE_RECORD_VERSION="~> 3.2.0"
  - ACTIVE_RECORD_VERSION="~> 3.1.0"
  - ACTIVE_RECORD_VERSION="~> 3.0.0"

matrix:
  allow_failures:
    - env: ACTIVE_RECORD_BRANCH="master"
  exclude:
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "1.9"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "2.0"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "2.1"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: jruby-19mode

language: ruby
sudo: false

rvm:
  - "1.9"
  - "2.0"
  - "2.1"
  - "2.2"
  - jruby-19mode
  - rbx-2

install:
  - bundle install --retry=3

env:
  - ACTIVE_RECORD_BRANCH="master"
  - ACTIVE_RECORD_VERSION="~> 5.0.0"
  - ACTIVE_RECORD_VERSION="~> 4.2.0"
  - ACTIVE_RECORD_VERSION="~> 4.1.0"
  - ACTIVE_RECORD_VERSION="~> 4.0.0"
  - ACTIVE_RECORD_VERSION="~> 3.2.0"
  - ACTIVE_RECORD_VERSION="~> 3.1.0"
  - ACTIVE_RECORD_VERSION="~> 3.0.0"

matrix:
  allow_failures:
    - env: ACTIVE_RECORD_BRANCH="master"
  exclude:
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "1.9"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "2.0"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: "2.1"
    - env: ACTIVE_RECORD_BRANCH="master"
      rvm: jruby-19mode
    - env: ACTIVE_RECORD_VERSION="~> 5.0.0"
      rvm: "1.9"
    - env: ACTIVE_RECORD_VERSION="~> 5.0.0"
      rvm: "2.0"
    - env: ACTIVE_RECORD_VERSION="~> 5.0.0"
      rvm: "2.1"
    - env: ACTIVE_RECORD_VERSION="~> 5.0.0"
      rvm: jruby-19mode

Add Active Record 5 to Travis CI
Add Active Record 5 to Travis CI
