Commit 6127ae61 authored by Jerome Flesch's avatar Jerome Flesch

Add .gitlab-ci.yml: tests and style checking

Signed-off-by: Jerome Flesch's avatarJerome Flesch <jflesch@openpaper.work>
parent 5bada99a
Pipeline #81266 failed with stage
in 3 minutes and 21 seconds
image: debian:stable-slim
.apt: &apt
before_script:
- apt-get update
# WORKAROUND: manpages is required to install some of the openjdk-jre
# and openjdk-jre is required for plantuml, which is required to generate
# documentation
- mkdir -p /usr/share/man/man1
- apt-get install -y -qq python3
check:
tags:
- linux
- volatile
<<: *apt
script:
- apt-get install -y -qq flake8 python3-flake8 python3-pep8-naming
- make check
test:
tags:
- linux
- volatile
<<: *apt
script:
- apt-get install -y -qq python-tox
- make test
Markdown is supported
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