summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-26 08:10:59 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2018-08-26 08:10:59 +0000
commitfa6963070e0368c62de147c63ddde535e30aad3b (patch)
treeddd1107a22690d08ffd0692dcf45640a1b996a72
parenta9390efd185470156c7dd1c20a4a96024b4f8c62 (diff)
parent5fb772b5733f1ec9b54764b709fc07fb868d713d (diff)
downloadbuildstream-fa6963070e0368c62de147c63ddde535e30aad3b.tar.gz
Merge branch 'tristan/fix-code-quality' into 'master'
.gitlab-ci.yml: Trying to fix code quality reports See merge request BuildStream/buildstream!735
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d93704bb0..669f87dbf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -182,11 +182,9 @@ docs:
# Post stage #
#####################################################
-# Check code quality with codeclimate
-# This needs some refactoring; we probably just want to provide the codeclimate.json directly
-# as an output of radon, with some conversion
+# Check code quality with gitlab's built-in feature.
#
-codequality:
+code_quality:
<<: *tests-condition
image: docker:stable
@@ -204,7 +202,7 @@ codequality:
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
- paths: [codeclimate.json]
+ paths: [gl-code-quality-report.json]
analysis:
<<: *tests-condition