mirror of https://github.com/fail2ban/fail2ban
Prevent travis failure with "The log length has exceeded the limit of 4 MB. The job has been terminated"
parent
12ff119841
commit
facda17945
|
@ -38,7 +38,7 @@ script:
|
||||||
# Keep the legacy setup.py test approach of checking coverage for python2
|
# Keep the legacy setup.py test approach of checking coverage for python2
|
||||||
- if [[ "$F2B_PY_2" ]]; then coverage run setup.py test; fi
|
- if [[ "$F2B_PY_2" ]]; then coverage run setup.py test; fi
|
||||||
# Coverage doesn't pick up setup.py test with python3, so run it directly
|
# Coverage doesn't pick up setup.py test with python3, so run it directly
|
||||||
- if [[ "$F2B_PY_3" ]]; then coverage run bin/fail2ban-testcases -l debug; fi
|
- if [[ "$F2B_PY_3" ]]; then coverage run bin/fail2ban-testcases -l info; fi
|
||||||
# Use $VENV_BIN (not python) or else sudo will always run the system's python (2.7)
|
# Use $VENV_BIN (not python) or else sudo will always run the system's python (2.7)
|
||||||
- sudo $VENV_BIN/pip install .
|
- sudo $VENV_BIN/pip install .
|
||||||
after_success:
|
after_success:
|
||||||
|
|
Loading…
Reference in New Issue