language: ruby
rvm:
  - "2.0.0"

env:
  - DB=postgresql

script: bundle exec rspec

before_script:
  - cp config/database.travis.yml config/database.yml
  - psql -c 'create database histvest_test' -U postgres
  - bundle exec rake db:create db:seed db:migrate
language: ruby
rvm:
  - "2.0.0"

env:
  - DB=postgresql

script: bundle exec rspec

before_script:
  - cp config/database.travis.yml config/database.yml
  - psql -c 'create database histvest_test' -U postgres
  - bundle exec rake db:drop db:create db:migrate db:seed
Drop test database in Travis build. Seed after migration.
Drop test database in Travis build. Seed after migration.
