diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-05-15 16:25:50 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-05-15 16:25:50 +0000 |
| commit | b75bb7540a027e408c30046f66a1cbd7f15c8ae9 (patch) | |
| tree | dced22cda461c24ca33012a50c33779b98e17e02 | |
| parent | suggested changes (diff) | |
| download | inkscape-b75bb7540a027e408c30046f66a1cbd7f15c8ae9.tar.gz inkscape-b75bb7540a027e408c30046f66a1cbd7f15c8ae9.zip | |
Check code quality with clang-format-diff on merge requests
| -rw-r--r-- | .gitlab-ci.yml | 8 |
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: |
