mirror of https://github.com/fail2ban/fail2ban
TST: Add gamin support for Travis CI
parent
74e76e068c
commit
b0a08b9790
|
@ -5,8 +5,11 @@ python:
|
||||||
- "2.5"
|
- "2.5"
|
||||||
- "2.6"
|
- "2.6"
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get update -qq
|
||||||
install:
|
install:
|
||||||
- pip install pyinotify
|
- pip install pyinotify
|
||||||
|
- sudo apt-get install -qq python-gamin
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then pip install -q coveralls; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then pip install -q coveralls; fi
|
||||||
script:
|
script:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coverage run --rcfile=.travis_coveragerc fail2ban-testcases; else python ./fail2ban-testcases; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.[6-7] ]]; then coverage run --rcfile=.travis_coveragerc fail2ban-testcases; else python ./fail2ban-testcases; fi
|
||||||
|
|
|
@ -4,4 +4,3 @@ branch = True
|
||||||
omit =
|
omit =
|
||||||
/usr/*
|
/usr/*
|
||||||
/home/travis/virtualenv/*
|
/home/travis/virtualenv/*
|
||||||
server/filtergamin.py
|
|
||||||
|
|
Loading…
Reference in New Issue