Skip to content

Commit

Permalink
Add coverage feature
Browse files Browse the repository at this point in the history
  • Loading branch information
goinnn committed Oct 8, 2013
1 parent 853b867 commit 8cee063
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[run]
source = ./smartextends
omit =
example/*

[report]
exclude_lines =
pragma: no cover
def __repr__
raise NotImplementedError
if __name__ == .__main__.:
def parse_args
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
language: python

install:
- pip install -q --use-mirrors tox
- pip install -q --use-mirrors tox python-coveralls

script:
- tox
after_success:
- coveralls

notifications:
email:
Expand Down

0 comments on commit 8cee063

Please sign in to comment.