smarter db creation. don't use db:reset or db:setup.

This jenkins setup will load and migrate db without seeding.
This commit is contained in:
Devin Howard 2016-02-14 14:02:53 +08:00
parent 9ff6375e62
commit d61b6c1280

View file

@ -21,5 +21,8 @@ sed -i -e "s/DB_USERNAME='.*'/DB_USERNAME='jenkins'/" .env
#test
bundle install
rake db:create db:test:prepare
rake db:drop
rake db:create
rake db:schema:load
rake db:migrate
COVERAGE=on bundle exec rspec