diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..63c6846 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,6 @@ +[run] +source = postnl_checkout +branch = True + +[report] +omit = postnl_checkout/django_postnl_checkout/migrations/* diff --git a/.travis.yml b/.travis.yml index 6599f19..e917775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,9 +28,10 @@ install: - pip install -r requirements_django.txt - pip install -q $DJANGO - pip install -r requirements_test.txt + - pip install coveralls # command to run tests -script: python setup.py test +script: coverage run setup.py test # submit coverage reports after_success: