language: ruby
rvm:
  - 2.1
script: bundle exec rake test
before_script:
  - psql -c 'create database active_median_test;' -U postgres
notifications:
  email:
    on_success: never
    on_failure: change
gemfile:
  - Gemfile
  - gemfiles/activerecord41.gemfile
  - gemfiles/activerecord40.gemfile
  - gemfiles/activerecord32.gemfile

language: ruby
rvm:
  - 2.1
script: bundle exec rake test
before_script:
  - psql -c 'create database active_median_test;' -U postgres
notifications:
  email:
    on_success: never
    on_failure: change
gemfile:
  - Gemfile
  - gemfiles/activerecord41.gemfile
  - gemfiles/activerecord40.gemfile
  - gemfiles/activerecord32.gemfile
matrix:
  allow_failures:
    - gemfile: gemfiles/activerecord32.gemfile

Allow failure for typecast bug with Rails 3.2
Allow failure for typecast bug with Rails 3.2
