Skip to content
Snippets Groups Projects
Commit 4cbdcf17 authored by Thomas Flori's avatar Thomas Flori
Browse files

enable code climate in gitlab-ci for merge requests, tags and master branch

parent 0ad45061
No related branches found
No related tags found
1 merge request!25enable code climate in gitlab-ci for merge requests, tags and master branch
Pipeline #754 passed with stage
in 15 minutes and 12 seconds
......@@ -2,6 +2,24 @@ stages:
- test
- publish
include:
- template: Jobs/Code-Quality.gitlab-ci.yml
code_quality:
tags:
- cq-sans-dind
rules:
- if: $CODE_QUALITY_DISABLED
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG
services:
variables:
REPORT_FORMAT: html
artifacts:
paths: [ gl-code-quality-report.html ]
phpunit:
stage: test
needs: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment