diff --git a/.coveragerc b/.coveragerc index d80d81c..fad4a8e 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,11 @@ -[report] -source=django_markdown - [run] +branch=True source=django_markdown + +[report] +precision = 2 +omit = *migrations* +ignore_errors = True + +[html] +directory = coverage_html_report diff --git a/.travis.yml b/.travis.yml index 53b1684..0b308a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,12 @@ branches: - master - develop -install: pip install --quiet --use-mirrors tox +install: pip install --quiet tox script: tox after_script: - if [ $TOXENV == "cov" ]; then - pip install --quiet --use-mirrors coveralls; + pip install --quiet coveralls; coveralls; fi