mirror of https://github.com/fail2ban/fail2ban
commit
08dd6fed26
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
[run]
|
[run]
|
||||||
branch = True
|
branch = True
|
||||||
omit = /usr*
|
omit = /usr* /home/travis/virtualenv/*
|
||||||
|
|
|
@ -6,6 +6,9 @@ python:
|
||||||
- "2.6"
|
- "2.6"
|
||||||
- "2.7"
|
- "2.7"
|
||||||
install:
|
install:
|
||||||
- "pip install pyinotify"
|
- pip install pyinotify
|
||||||
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then pip install -q coveralls; fi
|
||||||
script:
|
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
|
||||||
|
|
Loading…
Reference in New Issue