add migrating db

This commit is contained in:
schisma 2015-05-10 22:06:09 +02:00
parent 7ad1a9fb53
commit 0dfe4ffa57
1 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,5 @@ rvm: 2.1
before_script:
- psql -c 'create database justask_test;' -U postgres
- cp config/database.yml.postgres config/database.yml
- cp config/justask.yml.example config/justask.yml
- cp config/justask.yml.example config/justask.yml
- bundle exec rake:db migrate