Sith/.gitlab-ci.yml

29 lines
433 B
YAML
Raw Normal View History

2018-10-04 19:16:02 +00:00
stages:
- setup
- test
setup:
stage: setup
2016-04-18 02:58:15 +00:00
script:
2016-11-08 18:17:42 +00:00
- apt-get update
- apt-get install -y gettext
2016-04-18 02:58:15 +00:00
- pip install -r requirements.txt
2018-10-04 19:16:02 +00:00
test:
stage: test
script:
- pip install coverage
- ./manage.py compilemessages
- coverage run ./manage.py test
- coverage html
- coverage report
artifacts:
paths:
- coverage_report/
2018-10-04 19:16:02 +00:00
black:
stage: test
script:
- pip install black
- black --check .