evorepo/.gitlab-ci.yml
Jelle van der Waa bd4bbdfbd0 Add gitlab CI integration
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-06-06 16:27:47 +02:00

17 lines
448 B
YAML

image: archlinux/base
before_script:
- pacman -Syu --needed --noconfirm python-pip git
- pip install pylint coverage
- pip install -r requirements.txt
- python manage.py collectstatic --noinput
lint:
script:
- pylint devel main mirrors news packages releng templates todolists visualize *.py
# TODO: https://docs.gitlab.com/ee/ci/junit_test_reports.html
test:
script:
- coverage run --rcfile .coveragerc manage.py test