Commit 211b3afc authored by Jérémy BUCHOU's avatar Jérémy BUCHOU

Merge branch 'wip-ci' into 'master'

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

See merge request !116
parents 5bada99a 10c94221
Pipeline #81375 passed with stage
in 6 minutes and 41 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
- apt-get install -y -qq python3-dev
- 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