gitlab-ci + coverage report

This commit is contained in:
Fred 2016-09-30 13:25:31 +02:00
parent 26e96ce5a6
commit 95693e2781
2 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# .coveragerc to control coverage.py # .coveragerc to control coverage.py
[run] [run]
branch = True branch = True
omit = ../*migrations* omit = *migrations*, *manage.py
[report] [report]
ignore_errors = True ignore_errors = True

11
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,11 @@
before_script:
- pip install -r requirements/dev.txt
test:python-3.4:
stage: test
image: python:3.4-slim
script:
- flake8 src/
- coverage run src/manage.py test wish
- coverage report -m