language: ruby
rvm:
  - 1.9.3
  - 2.0.0
matrix:
  include:
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.rails-3.X
      env: PA_ORM=active_record
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.rails-3.X
      env: PA_ORM=active_record
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.rails-4.0
      env: PA_ORM=active_record
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.rails-4.0
      env: PA_ORM=active_record
env:
  - PA_ORM=mongoid
  - PA_ORM=mongo_mapper
services:
  - mongodb
email:
  recipients:
    - piotrek@okonski.org
    - jakub@okonski.org
  on_success: change
  on_failure: always

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.1
matrix:
  include:
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.rails-3.X
      env: PA_ORM=active_record
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.rails-3.X
      env: PA_ORM=active_record
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.rails-4.0
      env: PA_ORM=active_record
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.rails-4.0
      env: PA_ORM=active_record
env:
  - PA_ORM=mongoid
  - PA_ORM=mongo_mapper
services:
  - mongodb
email:
  recipients:
    - piotrek@okonski.org
    - jakub@okonski.org
  on_success: change
  on_failure: always

Include Ruby 2.1.1 in Travis
Include Ruby 2.1.1 in Travis