debian-mirror-gitlab/lib/tasks/test.rake

14 lines
342 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
Rake::Task["test"].clear
2015-09-11 14:41:01 +05:30
desc "GitLab | Run all tests"
2014-09-02 18:07:02 +05:30
task :test do
Rake::Task["gitlab:test"].invoke
end
2015-04-26 12:48:37 +05:30
unless Rails.env.production?
require 'coveralls/rake/task'
Coveralls::RakeTask.new
2015-09-11 14:41:01 +05:30
desc "GitLab | Run all tests on CI with simplecov"
task :test_ci => [:rubocop, :brakeman, 'teaspoon', :spinach, :spec, 'coveralls:push']
2015-04-26 12:48:37 +05:30
end