summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 4a4600f2cd424649b97964ddf774e5bca49d3989 (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 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