use environment variable for extacting SCM repositories in ci.rake
git-svn-id: http://svn.redmine.org/redmine/trunk@12426 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f9b5543075
commit
694394b04e
|
@ -16,7 +16,13 @@ namespace :ci do
|
|||
Rake::Task["db:create:all"].invoke
|
||||
Rake::Task["db:migrate"].invoke
|
||||
Rake::Task["db:schema:dump"].invoke
|
||||
if scms = ENV['SCMS']
|
||||
scms.split(',').each do |scm|
|
||||
Rake::Task["test:scm:setup:#{scm}"].invoke
|
||||
end
|
||||
else
|
||||
Rake::Task["test:scm:setup:all"].invoke
|
||||
end
|
||||
Rake::Task["test:scm:update"].invoke
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue