Sith/.gitlab-ci.yml
2018-10-05 21:53:14 +02:00

24 lines
390 B
YAML

stages:
- test
test:
stage: test
script:
- apt-get update
- apt-get install -y gettext
- pip install -r requirements.txt
- pip install coverage
- ./manage.py compilemessages
- coverage run ./manage.py test
- coverage html
- coverage report
artifacts:
paths:
- coverage_report/
black:
stage: test
script:
- pip install black
- black --check .