Add autopkgtest test in .gitlab-ci.yml

This commit is contained in:
Xavier 2019-08-20 23:01:47 +02:00
parent bef05c6f5d
commit 89179afb88
1 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,16 @@ before_script:
- sed -i "1{s/-2) /$suffix) /}" debian/changelog
- sed -i 's/3.0 (quilt)/3.0 (native)/' debian/source/format
autopkgtest:
stage: build
image: buildpkg/debian:buster
script:
- cd $CI_PROJECT_DIR
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf pkg-perl-autopkgtest
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
- make
- make -j8 autopkgtest
build_stretch:
image: buildpkg/debian:stretch
<<: *job_build