diff options
author | sebres <serg.brester@sebres.de> | 2018-09-21 14:47:40 +0200 |
---|---|---|
committer | sebres <serg.brester@sebres.de> | 2018-09-21 15:31:37 +0200 |
commit | 2a4c47ea32b2e483746c757896ff0d63a1403f6b (patch) | |
tree | c4e270511103c8032d1dc05ed24e59a91e4bc821 /.travis.yml | |
parent | 58b510a5be3b2399a602680d62a15118dad45cd3 (diff) | |
download | fail2ban-2a4c47ea32b2e483746c757896ff0d63a1403f6b.tar.gz |
.travis.yml: coveralls doesn't support python 2.6 now
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 16a71249..ebfcd68e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,11 @@ install: # Install Python packages / dependencies # coverage - travis_retry pip install coverage - # coveralls - - travis_retry pip install coveralls codecov + # coveralls (note coveralls doesn't support 2.6 now): + - if [[ $TRAVIS_PYTHON_VERSION != 2.6* ]]; then F2B_COV=1; else F2B_COV=0; fi + - if [[ "$F2B_COV" = 1 ]]; then travis_retry pip install coveralls; fi + # codecov: + - travis_retry pip install codecov # dnspython or dnspython3 - if [[ "$F2B_PY" = 2 ]]; then travis_retry pip install dnspython; fi - if [[ "$F2B_PY" = 3 ]]; then travis_retry pip install dnspython3; fi @@ -51,7 +54,7 @@ script: # Doc files should get installed on Travis under Linux - test -e /usr/share/doc/fail2ban/FILTERS after_success: - - coveralls + - if [[ "$F2B_COV" = 1 ]]; then coveralls; fi - codecov matrix: fast_finish: true |