language: ruby
rvm:
  - 2.0.0
  - 1.9.3
  - 1.9.2
services:
  - redis-server
before_script:
  - psql -c 'create database myapp_test;' -U postgres
script:
  - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rake db:migrate --trace
  - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rspec
allow_failures:
  rvm:
    - 1.9.2

language: ruby
rvm:
  - 2.0.0
  - 1.9.3
  - jruby-19mode
  - rbx-19mode
services:
  - redis-server
before_script:
  - psql -c 'create database myapp_test;' -U postgres
script:
  - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rake db:migrate --trace
  - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rspec
notifications:
  email:
    recipients:
      - tp@tiredpixel.com
matrix:
  allow_failures:
    - rvm: jruby-19mode
    - rvm: rbx-19mode
Build for Ruby 2.0.0,1.9.3 main, dropping 1.9.2 .
Build for Ruby 2.0.0,1.9.3 main, dropping 1.9.2 .

Ruby 1.9.2 is no longer supported. Build for JRuby and Rubinius for the
sake of curiosity, allowing failures.
