Commit 27b730ec authored by Chris Lamb's avatar Chris Lamb 💬

Don't just run the tests but build the Debian package instead using Salsa's...

Don't just run the tests but build the Debian package instead using Salsa's centralised scripts so that we get code coverage, Lintian, autopkgtests, etc.
parent b948d767
Pipeline #56502 passed with stage
in 5 minutes and 12 seconds
image: debian:unstable
image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest
test:
stage: test
except:
- debian
- tags
before_script:
- apt-get -q update
- mount -o remount,rw /dev
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf git
- git checkout debian
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
- git checkout -
pages:
stage: deploy
artifacts:
paths:
- public
script:
- perl Makefile.PL
- make test TEST_VERBOSE=1
- gitlab-ci-git-buildpackage-all
- gitlab-ci-aptly
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment