25 lines
414 B
Bash
Executable File
25 lines
414 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
. /usr/share/gitlab-ci-common
|
|
|
|
# these are all required
|
|
! test -z "$CI_PROJECT_DIR"
|
|
! test -z "$CI_COMMIT_SHA"
|
|
! test -z "$CI_COMMIT_TAG"
|
|
! test -z "$CI_COMMIT_REF_NAME"
|
|
|
|
set -x
|
|
|
|
gitlab-ci-enable-sid
|
|
gitlab-ci-enable-experimental
|
|
|
|
$apt_get update
|
|
$apt_get dist-upgrade
|
|
|
|
gitlab-ci-git-buildpackage
|
|
gitlab-ci-lintian
|
|
|
|
if [ -e $CI_PROJECT_DIR/debian/tests/control ]; then
|
|
gitlab-ci-autopkgtest
|
|
fi
|