Verified Commit 6e92b732 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Add a very simple build pipeline



Signed-off-by: Andrej Shadura's avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 8af87f91
variables:
PYTHON: python3.8
default:
image: debian:testing-slim
before_script:
- apt update
build:
stage: build
script:
- apt install -y $PYTHON python3-pip devscripts
- mk-build-deps -ir -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y"
- pip3 install .
- $PYTHON setup.py build sdist bdist
- dpkg-buildpackage --no-sign
- mkdir -p _build
- mv ../*.deb ../*.changes ../*.tar.* ../*.dsc _build
artifacts:
paths:
- _build
codestyle:
stage: test
allow_failure: true
script:
- apt install -y flake8
- flake8 --verbose
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment