diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-30 15:54:21 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-30 15:54:21 +0300 |
commit | 99a7bf882328ac8a0664c1be88593828a20f8fb5 (patch) | |
tree | 7c66c16a4d8fa52bc2584cfd08b0096993446e4f /lib/tasks/test.rake | |
parent | 0e183aa721b1628579810b322533dbd86fa202ee (diff) | |
download | gitlab-ce-99a7bf882328ac8a0664c1be88593828a20f8fb5.tar.gz |
Separate rake test for simplecov
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks/test.rake')
-rw-r--r-- | lib/tasks/test.rake | 7 |
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 |