Skip to content

Commit

Permalink
:add: coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Jun 14, 2015
1 parent 26ccab6 commit 9f17aee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
source = b3j0f

[report]
exclude_lines =
pragma: no cover
except ImportError:
if __name__ == '__main__':
if PY2:
if PY3:
raise NotImplementedError
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ python:
- "3.4"
# command to install dependencies
install:
- "pip install setuptools"
- "pip install b3j0f.utils"
- "python setup.py install"
- pip install coveralls
# command to run tests
script: python setup.py test
script:
- coverage run setup.py test
# command to run after success
after_success:
- coveralls

0 comments on commit 9f17aee

Please sign in to comment.