diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-30 16:54:21 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-30 16:54:21 +0400 |
commit | 99a7bf882328ac8a0664c1be88593828a20f8fb5 (patch) | |
tree | 7c66c16a4d8fa52bc2584cfd08b0096993446e4f | |
parent | 0e183aa721b1628579810b322533dbd86fa202ee (diff) |
Separate rake test for simplecov
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-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 |