Commit c54e5ff7 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

.gitlab-ci.yml: Trying to fix code quality reports

This hasnt been working for a while, it might be because GitLab
doesnt quite grasp that we have multiple branches to merge MRs to,
or it might be because they have change the API and broken back compat
in some way.

See: https://docs.gitlab.com/ee/ci/examples/code_quality.html
parent 81261e3c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -187,11 +187,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
@@ -209,7 +207,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