BLD: Add coverage integration.

This commit is contained in:
Thomas Wiecki
2014-06-18 19:59:06 +02:00
parent ff11628cd3
commit d4e05090a3
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
+2 -1
View File
@@ -19,7 +19,8 @@ install:
- grep nose== etc/requirements_dev.txt | xargs pip install
- grep nose-parameterized== etc/requirements_dev.txt | xargs pip install
- grep nose-ignore-docstring== etc/requirements_dev.txt | xargs pip install
- pip install coveralls
before_script:
- "flake8 zipline tests"
script:
- nosetests --exclude=^test_examples
- nosetests --exclude=^test_examples --with-coverage --cover-package=zipline