summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..842c1ce
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+default:
+ image: debian:unstable
+
+tests:
+ before_script:
+ - apt-get update
+ - apt-get -y install --no-install-recommends build-essential debhelper fakeroot flit libjs-jquery python3-all python3-all-dbg python3-all-dev python3-build python3-installer python3-nose2 python3-poetry-core python3-pytest python3-setuptools python3-tomli tox
+
+ script:
+ - make tests
+ - echo -e '#!/bin/sh\nset -eu\nmake "$@"' > debian/tests/run-installed
+ - export DH_PYTHON_DIST=$PWD/pydist
+ - ./debian/tests/dh-python
+ - ./debian/tests/pybuild