ci-image-git-buildpackage/gitlab-ci-lintian

12 lines
377 B
Bash
Executable File

#!/bin/bash -e
. /usr/share/gitlab-ci-common
$apt_get update
$apt_get install lintian
echo "performing general and experimental lintian checks"
su --shell /bin/sh nobody --command "lintian --color always -EviIL +pedantic ../*.changes" || true
echo "performing ftp-master-rejects lintian checks"
su --shell /bin/sh nobody --command "lintian --color always -viF ../*.changes"