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:
parent
9ff6375e62
commit
d61b6c1280
1 changed files with 4 additions and 1 deletions
|
@ -21,5 +21,8 @@ sed -i -e "s/DB_USERNAME='.*'/DB_USERNAME='jenkins'/" .env
|
||||||
|
|
||||||
#test
|
#test
|
||||||
bundle install
|
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
|
COVERAGE=on bundle exec rspec
|
||||||
|
|
Loading…
Reference in a new issue