summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b2b5c2d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,28 @@
+before_script:
+ - apt-get -q update
+ - echo "man-db man-db/auto-update boolean false" | debconf-set-selections
+ - apt-get -q -y dist-upgrade
+ - env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf
+ - env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .
+ - make
+
+.test_template: &test
+ script:
+ - make test
+ - make destructive-test
+
+unstable:
+ <<: *test
+ image: debian:unstable
+
+testing:
+ <<: *test
+ image: debian:testing
+
+stable-bpo:
+ <<: *test
+ image: debian:stable-backports
+
+ubuntu-devel:
+ <<: *test
+ image: ubuntu:devel