Merge pull request #163 from kwirk/coveralls

Coveralls.io
pull/164/merge
Yaroslav Halchenko 2013-03-29 12:15:34 -07:00
commit 08dd6fed26
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
[run]
branch = True
omit = /usr*
omit = /usr* /home/travis/virtualenv/*

View File

@ -6,6 +6,9 @@ python:
- "2.6"
- "2.7"
install:
- "pip install pyinotify"
- pip install pyinotify
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then pip install -q coveralls; fi
script:
- python ./fail2ban-testcases
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coverage run fail2ban-testcases; else python ./fail2ban-testcases; fi
after_script:
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coveralls; fi