Separate rake test for simplecov

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-09-30 15:54:21 +03:00
parent 0e183aa721
commit 99a7bf8823
No known key found for this signature in database
GPG Key ID: 161B5D6A44D3D88A
1 changed files with 7 additions and 0 deletions

View File

@ -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