diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40929fae57cc71672f740c65b78e07f47e7e1f9c..77d7399bde822cc7e80313a8362ce3584438723d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,25 @@ -image: python:3.7 - stages: - quality-assurance - -before_script: - - pip install tox + - build linters: + image: python:3.7 stage: quality-assurance - script: tox -e linters + before_script: + - pip install tox + script: + - tox -e linters # Be nice to new contributors, but please use `tox` before commit allow_failure: true + +build-deb: + image: debian:buster + stage: build + script: + - apt-get update && apt-get -y --no-install-recommends install debmake dh-python debhelper python3-all + - dpkg-buildpackage + - mkdir build && cp ../*.deb build/ + artifacts: + paths: + - build/*.deb