1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 19:42:20 +00:00
ghostream/.gitlab-ci.yml
2020-09-14 15:25:04 +02:00

27 lines
612 B
YAML

stages:
- quality-assurance
- build
linters:
image: python:3.7
stage: quality-assurance
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
before_script:
- apt-get update && apt-get -y --no-install-recommends install build-essential debmake dh-python debhelper python3-all python3-flask python3-ldap python3-setuptools
script:
- dpkg-buildpackage
- mkdir build && cp ../*.deb build/
artifacts:
paths:
- build/*.deb