Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
84a5a548
Commit
84a5a548
authored
Feb 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add rubocop to rake test and rake test_ci
parent
afb8ecc3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
lib/tasks/gitlab/test.rake
lib/tasks/gitlab/test.rake
+1
-0
lib/tasks/rubocop.rake
lib/tasks/rubocop.rake
+2
-0
lib/tasks/test.rake
lib/tasks/test.rake
+1
-1
No files found.
lib/tasks/gitlab/test.rake
View file @
84a5a548
...
@@ -2,6 +2,7 @@ namespace :gitlab do
...
@@ -2,6 +2,7 @@ namespace :gitlab do
desc
"GITLAB | Run all tests"
desc
"GITLAB | Run all tests"
task
:test
do
task
:test
do
cmds
=
[
cmds
=
[
%W(rake rubocop)
,
%W(rake spinach)
,
%W(rake spinach)
,
%W(rake spec)
,
%W(rake spec)
,
%W(rake jasmine:ci)
%W(rake jasmine:ci)
...
...
lib/tasks/rubocop.rake
0 → 100644
View file @
84a5a548
require
'rubocop/rake_task'
RuboCop
::
RakeTask
.
new
lib/tasks/test.rake
View file @
84a5a548
...
@@ -9,5 +9,5 @@ unless Rails.env.production?
...
@@ -9,5 +9,5 @@ unless Rails.env.production?
require
'coveralls/rake/task'
require
'coveralls/rake/task'
Coveralls
::
RakeTask
.
new
Coveralls
::
RakeTask
.
new
desc
"GITLAB | Run all tests on CI with simplecov"
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
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment