mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
TST: Add support for coveralls for python 2.6 and python 2.7
This commit is contained in:
parent
ab044b75ea
commit
b3251fca79
1 changed files with 5 additions and 2 deletions
|
|
@ -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 coveralls; fi
|
||||
script:
|
||||
- python ./fail2ban-testcases
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coverage python ./fail2ban-testcases; else python ./fail2ban-testcases; fi
|
||||
after_script:
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coveralls; fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue