TST: Coverage for coveralls.io should only be run on success

pull/172/head
Steven Hiscocks 2013-04-14 15:56:14 +01:00
parent 28e9acf86a
commit d259e903a3
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ install:
script:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export PYTHONPATH="$PYTHONPATH:/usr/share/pyshared:/usr/lib/pyshared/python2.7"; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coverage run --rcfile=.travis_coveragerc fail2ban-testcases; else python ./fail2ban-testcases; fi
after_script:
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi