summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..34f0b17
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+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
+
+# python-flake8 >= 6.1.0-1 needs to migrate to testing
+#testing:
+# <<: *test
+# image: debian:testing
+
+ubuntu-devel:
+ <<: *test
+ image: ubuntu:devel