summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-30 15:54:21 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-30 15:54:21 +0300
commit99a7bf882328ac8a0664c1be88593828a20f8fb5 (patch)
tree7c66c16a4d8fa52bc2584cfd08b0096993446e4f /lib
parent0e183aa721b1628579810b322533dbd86fa202ee (diff)
downloadgitlab-ce-99a7bf882328ac8a0664c1be88593828a20f8fb5.tar.gz
Separate rake test for simplecov
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/test.rake7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake
index f19da1bb437..4a44bcb2a93 100644
--- a/lib/tasks/test.rake
+++ b/lib/tasks/test.rake
@@ -4,3 +4,10 @@ desc "GITLAB | Run all tests"
task :test do
Rake::Task["gitlab:test"].invoke
end
+
+unless Rails.env.production?
+ require 'coveralls/rake/task'
+ Coveralls::RakeTask.new
+ desc "GITLAB | Run all tests on CI with simplecov"
+ task :test_ci => [:spinach, 'coveralls:push']
+end