Skip to content

Commit

Permalink
enable coverage with coveralls.io
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
  • Loading branch information
hthiery committed Mar 5, 2016
1 parent 3a6e858 commit 973681c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ language: python
python:
- '2.6'
- '2.7'
install: python setup.py install
script: nosetests
install:
- pip install python-coveralls
- pip install coverage
- pip install nose
script:
- python setup.py install
- nosetests --with-coverage
after_success:
- coveralls
deploy:
provider: pypi
user: mwalle
Expand Down

0 comments on commit 973681c

Please sign in to comment.