summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml.in
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-06-30 18:42:53 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-01 15:22:37 +0200
commitd498aa4a344a2b6433826d956ce5e89a2a71c395 (patch)
tree230b8dd7e311c114121ee7346033e22383039056 /.gitlab-ci.yml.in
parent0d643fd3e8d2e3deb5de936f176286ca2c4f0b62 (diff)
.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>
Diffstat (limited to '.gitlab-ci.yml.in')
-rw-r--r--.gitlab-ci.yml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index 0f9cbcba33..0b6e634a4b 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -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.