2ddb51512b
Introduce a .coveragerc file to omit multiple files from test coverage such as django's migrations, env and the tests itself.
12 lines
240 B
YAML
12 lines
240 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
install: "pip install -r requirements.txt && pip install coveralls"
|
|
|
|
script:
|
|
- python manage.py collectstatic --noinput
|
|
- coverage run --rcfile .coveragerc manage.py test
|
|
|
|
after_success:
|
|
- coveralls
|