Commit 3de6895c 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 #81275 failed with stage
in 10 minutes and 19 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
- apt-get install -y -qq make
- apt-get install -y -qq git
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
# required for Pillow
- apt-get install -y -qq zlib1g-dev
- apt-get install -y -qq libjpeg-dev
- apt-get install -y -qq libpng-dev
- apt-get install -y -qq build-essential gcc
- 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