Skip to content
Permalink
Browse files

Adding coveralls integration

Run coverage with all tests and send results to coveralls.io.
  • Loading branch information...
pferate committed Mar 30, 2015
1 parent 2c3bdfe commit e14d7912288afee210b8f4d55c7f748210de4c4a
Showing with 17 additions and 1 deletion.
  1. +7 −0 .coveragerc
  2. +5 −0 .gitignore
  3. +3 −0 .travis.yml
  4. +2 −1 tox.ini
@@ -0,0 +1,7 @@
[report]
omit = */samples/*
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
@@ -6,3 +6,8 @@ dist/

# Test files
.tox/

# Coverage files
.coverage
coverage.xml
nosetests.xml
@@ -10,7 +10,10 @@ env:
- TOX_ENV=py34
install:
- pip install tox
- pip install coveralls
script:
- tox -e $TOX_ENV
after_success:
coveralls
notifications:
email: false
@@ -9,5 +9,6 @@ deps = keyring
django
webtest
nose
coverage>=3.6,<3.99
unittest2
commands = nosetests
commands = nosetests --with-coverage --cover-package=googleapiclient --nocapture --cover-erase --cover-tests --cover-branches --cover-min-percentage=85

0 comments on commit e14d791

Please sign in to comment.
You can’t perform that action at this time.