2014-03-14 05:06:10 -04:00
|
|
|
Rake::Task["test"].clear
|
|
|
|
|
2015-06-23 10:52:40 -04:00
|
|
|
desc "GitLab | Run all tests"
|
2014-03-14 05:06:10 -04:00
|
|
|
task :test do
|
|
|
|
Rake::Task["gitlab:test"].invoke
|
|
|
|
end
|
2014-09-30 08:54:21 -04:00
|
|
|
|
|
|
|
unless Rails.env.production?
|
|
|
|
require 'coveralls/rake/task'
|
|
|
|
Coveralls::RakeTask.new
|
2015-06-23 10:52:40 -04:00
|
|
|
desc "GitLab | Run all tests on CI with simplecov"
|
2015-07-03 04:51:44 -04:00
|
|
|
task :test_ci => [:rubocop, :brakeman, 'teaspoon', :spinach, :spec, 'coveralls:push']
|
2014-09-30 08:54:21 -04:00
|
|
|
end
|