diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..7a61814 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +source = . +omit = build/* diff --git a/.travis.yml b/.travis.yml index ba2ab2b..ab51167 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,6 @@ install: - pip install mock --use-mirrors - pip install south --use-mirrors script: - - coverage run --source=embed_video setup.py test + - coverage run setup.py test after_success: - coveralls diff --git a/docs/development/testing.rst b/docs/development/testing.rst index 5bffcbb..798ca17 100644 --- a/docs/development/testing.rst +++ b/docs/development/testing.rst @@ -15,5 +15,5 @@ Run tests with coverage: :: - coverage run --source=embed_video setup.py test + coverage run setup.py test coverage report