Exclude more path from codeclimate job
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
a8892beb9f
commit
9ab675c316
|
@ -38,3 +38,10 @@ exclude_paths:
|
||||||
- .yarn-cache/
|
- .yarn-cache/
|
||||||
- tmp/
|
- tmp/
|
||||||
- builds/
|
- builds/
|
||||||
|
- coverage/
|
||||||
|
- public/
|
||||||
|
- shared/
|
||||||
|
- webpack-report/
|
||||||
|
- log/
|
||||||
|
- backups/
|
||||||
|
- coverage-javascript/
|
||||||
|
|
|
@ -456,6 +456,21 @@ karma:
|
||||||
paths:
|
paths:
|
||||||
- coverage-javascript/
|
- 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:
|
coverage:
|
||||||
stage: post-test
|
stage: post-test
|
||||||
services: []
|
services: []
|
||||||
|
@ -527,18 +542,3 @@ cache gems:
|
||||||
only:
|
only:
|
||||||
- master@gitlab-org/gitlab-ce
|
- master@gitlab-org/gitlab-ce
|
||||||
- master@gitlab-org/gitlab-ee
|
- master@gitlab-org/gitlab-ee
|
||||||
|
|
||||||
codeclimate:
|
|
||||||
before_script: []
|
|
||||||
image: docker:latest
|
|
||||||
stage: post-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]
|
|
||||||
|
|
Loading…
Reference in New Issue