@@ -16,7 +16,13 namespace :ci do | |||||
16 | Rake::Task["db:create:all"].invoke |
|
16 | Rake::Task["db:create:all"].invoke | |
17 | Rake::Task["db:migrate"].invoke |
|
17 | Rake::Task["db:migrate"].invoke | |
18 | Rake::Task["db:schema:dump"].invoke |
|
18 | Rake::Task["db:schema:dump"].invoke | |
19 | Rake::Task["test:scm:setup:all"].invoke |
|
19 | if scms = ENV['SCMS'] | |
|
20 | scms.split(',').each do |scm| | |||
|
21 | Rake::Task["test:scm:setup:#{scm}"].invoke | |||
|
22 | end | |||
|
23 | else | |||
|
24 | Rake::Task["test:scm:setup:all"].invoke | |||
|
25 | end | |||
20 | Rake::Task["test:scm:update"].invoke |
|
26 | Rake::Task["test:scm:update"].invoke | |
21 | end |
|
27 | end | |
22 |
|
28 |
General Comments 0
You need to be logged in to leave comments.
Login now