.gitlab-ci.yml: add check-DEVELOPERS test

This verifies that the DEVELOPERS file doesn't contain errors. It
just runs parse_developers from getdeveloperlib and errors out if
that produces any output.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Arnout Vandecappelle 2017-06-30 18:42:53 +02:00 committed by Thomas Petazzoni
parent 0d643fd3e8
commit d498aa4a34
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,12 @@ check-gitlab-ci.yml:
- make .gitlab-ci.yml
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
check-DEVELOPERS:
script:
- PYTHONPATH=$PWD/support/scripts
python -c 'from getdeveloperlib import parse_developers; parse_developers()' |
grep . && exit 1
.defconfig: &defconfig
# Running the defconfigs for every push is too much, so limit to
# explicit triggers through the API.

View File

@ -34,6 +34,12 @@ check-gitlab-ci.yml:
- make .gitlab-ci.yml
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
check-DEVELOPERS:
script:
- PYTHONPATH=$PWD/support/scripts
python -c 'from getdeveloperlib import parse_developers; parse_developers()' |
grep . && exit 1
.defconfig: &defconfig
# Running the defconfigs for every push is too much, so limit to
# explicit triggers through the API.