summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-13 13:19:00 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-14 19:26:35 +0300
commit9ab675c316a1ced86e4925c02aae97d68862be63 (patch)
tree3241453a26be1bb8f2b24d9c136da7ea220012c2 /.gitlab-ci.yml
parenta8892beb9f15c01baac3e92f5d2e0c0864d55928 (diff)
downloadgitlab-ce-9ab675c316a1ced86e4925c02aae97d68862be63.tar.gz
Exclude more path from codeclimate job
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 26fa9e9fd87..c6868931657 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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: []
@@ -527,18 +542,3 @@ cache gems:
only:
- master@gitlab-org/gitlab-ce
- 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]