language: ruby
rvm:
  - 1.9.3
before_script:
  - cp .env.sample .env
  - bundle exec rake db:create
env: DATABASE_USERNAME=postgres DATABASE_PASSWORD=''
cache: bundler

language: ruby
rvm:
  - 1.9.3
before_script:
  - cp .env.sample .env
  - bundle exec rake db:create db:test:prepare
env: DATABASE_USERNAME=postgres DATABASE_PASSWORD=''
cache: bundler

Prepare the test DB schema in CI
Prepare the test DB schema in CI
