Skip to content
Snippets Groups Projects
Unverified Commit c4d035be authored by Oliver Smith's avatar Oliver Smith
Browse files

CI: editor-config: adjust for 'pmbootstrap ci' (MR 3615)

parent 02b882a2
No related branches found
No related tags found
No related merge requests found
#!/bin/sh -e
# Description: editorconfig-checker: lint for trailing whitespaces etc.
# https://postmarktos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add \
editorconfig-checker
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
ec
......@@ -65,10 +65,9 @@ editor-config:
stage: lint
<<: *only-default
image: alpine:edge
before_script:
- apk -q add editorconfig-checker
script:
- ec
- .ci/lib/gitlab_prepare_ci.sh
- .ci/ec.sh
# aports checks (generic)
aports-static:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment