gitlab-ci: Check indentation in an initial check-source stage

This commit is contained in:
Marco Trevisan (Treviño) 2019-11-25 19:08:31 +01:00
parent 15d218a112
commit 3b72b925b0

View file

@ -1,5 +1,6 @@
image: fedora:rawhide image: fedora:rawhide
stages: stages:
- check-source
- build - build
- test - test
- flatpack - flatpack
@ -49,7 +50,7 @@ test:
- meson test -C _build --verbose --no-stdsplit - meson test -C _build --verbose --no-stdsplit
test_indent: test_indent:
stage: test stage: check-source
script: script:
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck git uncrustify - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck git uncrustify
- scripts/uncrustify.sh --check - scripts/uncrustify.sh --check