gitlab-ci + coverage report
This commit is contained in:
parent
26e96ce5a6
commit
95693e2781
|
@ -1,7 +1,7 @@
|
|||
# .coveragerc to control coverage.py
|
||||
[run]
|
||||
branch = True
|
||||
omit = ../*migrations*
|
||||
omit = *migrations*, *manage.py
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue