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

14 lines
419 B
Bash
Executable File

#!/bin/bash -e
. /usr/share/gitlab-ci-common
depends="lintian"
$apt_get update
$apt_get install $depends
apt-mark auto $depends
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"