Permalink
Browse files

GH#8 try alternate db setup for travis CI

  • Loading branch information...
1 parent 21a7241 commit 691ba154fcfec1a42893056bc1b13db9998248b5 @tardate committed Jan 2, 2012
Showing with 6 additions and 3 deletions.
  1. +4 −1 .travis.yml
  2. +2 −2 config/database.yml
View
@@ -2,4 +2,7 @@
# see http://travis-ci.org/tardate/noagenda_dashboard
rvm: 1.9.2
before_script:
- - "psql -c 'create database navd_test;' -U postgres"
+ - "bundle exec rake db:drop"
+ - "bundle exec rake db:create"
+ - "bundle exec rake db:migrate"
+ - "bundle exec rake db:test:prepare"
View
@@ -3,7 +3,7 @@
development:
adapter: postgresql
database: navd_development
- username: navd
+ username: postgres
pool: 5
min_messages: WARNING
@@ -20,6 +20,6 @@ test:
production:
adapter: postgresql
database: navd_production
- username: navd
+ username: postgres
pool: 5
min_messages: WARNING

0 comments on commit 691ba15

Please sign in to comment.