add task for ci

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1486 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 14 years ago
parent 97962bfff7
commit 1380ebbc9e
  1. 16
      tasks/spec.rake

@ -10,5 +10,19 @@ begin
end
end
task :spec => "spec:plugins:redmine_reporting"
begin
require 'ci/reporter/rake/rspec' # use this if you're using RSpec
require 'ci/reporter/rake/test_unit' # use this if you're using Test::Unit
task :"spec:plugins:redmine_reporting:ci" => ["ci:setup:rspec", "spec:plugins:redmine_reporting"]
rescue LoadError
puts <<-EOS
Missing the CI Reporter gem. This is not fatal.
If you want XML output for the CI, execute
gem install ci_reporter
EOS
end
rescue LoadError
end
end

Loading…
Cancel
Save