diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 89ac960ba..a1455a104 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -16,7 +16,13 @@ namespace :ci do Rake::Task["db:create:all"].invoke Rake::Task["db:migrate"].invoke Rake::Task["db:schema:dump"].invoke - Rake::Task["test:scm:setup:all"].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