Commit 9314069a authored by Marco Trevisan's avatar Marco Trevisan
Browse files

ci: Add check-source stage where we check syntax

parent 66e21eac
......@@ -29,6 +29,10 @@ variables:
image: "$FEDORA_IMAGE"
stages:
- check-source
- test
.fprintd_build_preconditions:
except:
variables:
......@@ -47,6 +51,14 @@ image: "$FEDORA_IMAGE"
# So we don't get error about this libfprint file
- echo "libfprint/demo/gtk-libfprint-test.ui" >> po/POTFILES.skip
test_indent:
stage: check-source
extends: .fprintd_build_preconditions
script:
- scripts/uncrustify.sh
- git diff
- "! git status -s | grep -q ."
build_stable:
extends: .fprintd_build_preconditions
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment