blob: ceb0bc8dc6bd54f7061967a94f816dfa85db4934 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
image: archlinux/base
before_script:
- pacman -Syu --needed --noconfirm python-pip git
- pip install coverage flake8
- pip install -r requirements.txt
- python manage.py collectstatic --noinput
lint:
script:
- flake8 --exclude "*/migrations/" 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
|