Skip to content

Commit

Permalink
Add support for Coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoegl committed Jun 2, 2014
1 parent e5fa804 commit 2bce3fb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .coveragerc
@@ -0,0 +1,15 @@
# .coveragerc to control coverage.py
[run]
branch = True

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# No need to test __repr__
def __repr__

# Python 2/3 compatibility
except ImportError
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -12,4 +12,8 @@ install:

script:
- make lint
- py.test .
- coverage run --source=soco py.test .
- py.test --cov-config .coveragerc --cov soco .

after_script:
- coveralls
1 change: 1 addition & 0 deletions requirements-dev.txt
Expand Up @@ -5,3 +5,4 @@ mock >= 1.0.1
graphviz
flake8
pylint
coveralls

0 comments on commit 2bce3fb

Please sign in to comment.