blob: 5203ed2fb694ffd39afd880d1252e2c775b28537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
image: archlinux/base
before_script:
- pacman -Syu --needed --noconfirm python-pip git
- pip install pylint coverage flake8
- pip install -r requirements.txt
- python manage.py collectstatic --noinput
lint:
script:
- pylint devel main mirrors news packages releng templates todolists visualize *.py
- flake8 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
|