Commit 84a5a548 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add rubocop to rake test and rake test_ci

parent afb8ecc3
......@@ -2,6 +2,7 @@ namespace :gitlab do
desc "GITLAB | Run all tests"
task :test do
cmds = [
%W(rake rubocop),
%W(rake spinach),
%W(rake spec),
%W(rake jasmine:ci)
......
require 'rubocop/rake_task'
RuboCop::RakeTask.new
......@@ -9,5 +9,5 @@ unless Rails.env.production?
require 'coveralls/rake/task'
Coveralls::RakeTask.new
desc "GITLAB | Run all tests on CI with simplecov"
task :test_ci => [:spinach, :spec, 'coveralls:push']
task :test_ci => [:rubocop, :spinach, :spec, 'coveralls:push']
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment