bd4bbdfbd0
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
17 lines
448 B
YAML
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
|