language: ruby

rvm:
  - 1.9.3
  - "2.0"
  - "2.1"
  - jruby-19mode
  - rbx

env:
  - ACTIVE_RECORD_BRANCH="master"
  - ACTIVE_RECORD_BRANCH="4-1-stable"
  - ACTIVE_RECORD_BRANCH="4-0-stable"
  - ACTIVE_RECORD_VERSION="~> 4.2.0.beta1"
  - 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"
    - env: ACTIVE_RECORD_BRANCH="4-1-stable"
    - env: ACTIVE_RECORD_BRANCH="4-0-stable"
    - env: ACTIVE_RECORD_VERSION="~> 4.2.0.beta1"

language: ruby

rvm:
  - 1.9.3
  - "2.0"
  - "2.1"
  - jruby-19mode
  - rbx

env:
  - ACTIVE_RECORD_BRANCH="master"
  - ACTIVE_RECORD_VERSION="~> 4.2.0.beta1"
  - 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"
    - env: ACTIVE_RECORD_VERSION="~> 4.2.0.beta1"

Stop testing on stable branches
Stop testing on stable branches

They're unlikely to vary much from the released versions, and we don't
run builds enough to really catch differences. So save the nice guys at
Travis some money by running fewer builds.
