diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..2398f62e3 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[report] +omit = + tests/* \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index cc770609a..18019d2ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,10 +15,11 @@ install: - pip install networkx - pip install ipywidgets - pip install Pillow + - pip install pytest-cov - pip install ipythonblocks script: - - py.test + - py.test --cov=./ - python -m doctest -v *.py after_success: