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

14 lines
344 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
Rake::Task["test"].clear
desc "GITLAB | Run all tests"
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
desc "GITLAB | Run all tests on CI with simplecov"
task :test_ci => [:rubocop, :brakeman, 'jasmine:ci', :spinach, :spec, 'coveralls:push']
end