use environment variable for running independent tests (units etc.) in ci.rake
git-svn-id: http://svn.redmine.org/redmine/trunk@12437 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bea821166d
commit
2db5fc1a66
|
@ -28,7 +28,11 @@ namespace :ci do
|
|||
|
||||
desc "Build Redmine"
|
||||
task :build do
|
||||
if test_suite = ENV['TEST_SUITE']
|
||||
Rake::Task["test:#{test_suite}"].invoke
|
||||
else
|
||||
Rake::Task["test"].invoke
|
||||
end
|
||||
# Rake::Task["test:ui"].invoke if RUBY_VERSION >= '1.9.3'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue