summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a73cfae00..af8c93966 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,14 @@ inkscape:linux:
paths:
- build/
+inkscape:codequality:
+ stage: build
+ script:
+ - git fetch https://gitlab.com/inkscape/inkscape.git
+ - git diff FETCH_HEAD -U0 --no-color | clang-format-diff-6.0 -p1 -style file | tee clang_format_diff
+ - if [[ -s clang_format_diff ]]; then false; fi
+ allow_failure: true
+
inkscape:mac:
stage: build
tags: