Force recreation of test db and migrate plugins during rake ci.
This commit is contained in:
parent
c73315e6b0
commit
8583c25706
|
@ -13,8 +13,10 @@ namespace :ci do
|
||||||
desc "Setup Redmine for a new build."
|
desc "Setup Redmine for a new build."
|
||||||
task :setup do
|
task :setup do
|
||||||
Rake::Task["ci:dump_environment"].invoke
|
Rake::Task["ci:dump_environment"].invoke
|
||||||
|
Rake::Task["db:drop"].invoke
|
||||||
Rake::Task["db:create"].invoke
|
Rake::Task["db:create"].invoke
|
||||||
Rake::Task["db:migrate"].invoke
|
Rake::Task["db:migrate"].invoke
|
||||||
|
Rake::Task["db:migrate_plugins"].invoke
|
||||||
Rake::Task["db:schema:dump"].invoke
|
Rake::Task["db:schema:dump"].invoke
|
||||||
Rake::Task["test:scm:update"].invoke
|
Rake::Task["test:scm:update"].invoke
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue