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
Jérome Perrin
gitlab-ce
Commits
f994e49c
Commit
f994e49c
authored
Jun 14, 2017
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dz-add-codeclimate-job' into 'master'
Add codeclimate job to .gitlab-ci.yml See merge request !12086
parents
537e60c0
9ab675c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
.codeclimate.yml
.codeclimate.yml
+12
-3
.gitlab-ci.yml
.gitlab-ci.yml
+15
-0
No files found.
.codeclimate.yml
View file @
f994e49c
...
...
@@ -10,10 +10,10 @@ engines:
languages
:
-
ruby
-
javascript
exclude_paths
:
-
"
lib/api/v3/*"
eslint
:
enabled
:
true
fixme
:
enabled
:
true
rubocop
:
enabled
:
true
ratings
:
...
...
@@ -35,4 +35,13 @@ exclude_paths:
-
node_modules/
-
spec/
-
vendor/
-
lib/api/v3/
-
.yarn-cache/
-
tmp/
-
builds/
-
coverage/
-
public/
-
shared/
-
webpack-report/
-
log/
-
backups/
-
coverage-javascript/
.gitlab-ci.yml
View file @
f994e49c
...
...
@@ -456,6 +456,21 @@ karma:
paths
:
-
coverage-javascript/
codeclimate
:
before_script
:
[]
image
:
docker:latest
stage
:
test
variables
:
SETUP_DB
:
"
false"
DOCKER_DRIVER
:
overlay
services
:
-
docker:dind
script
:
-
docker pull codeclimate/codeclimate
-
docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json
artifacts
:
paths
:
[
codeclimate.json
]
coverage
:
stage
:
post-test
services
:
[]
...
...
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