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 rspec"

Build Travis for Ruby >= 1.9.2.
Build Travis for Ruby >= 1.9.2.

Include Redis and PostgreSQL services, configuring RSpec test script
to use test `DATABASE_URL`.
