.travis.yml: several distributions in matrix (trusty & xenial together)

pull/2427/head
sebres 2019-05-14 19:07:47 +02:00
parent d310c4992f
commit 1cca374d04
1 changed files with 37 additions and 16 deletions

View File

@ -1,20 +1,42 @@
# vim ft=yaml # vim ft=yaml
# travis-ci.org definition for Fail2Ban build # travis-ci.org definition for Fail2Ban build
# https://travis-ci.org/fail2ban/fail2ban/ # https://travis-ci.org/fail2ban/fail2ban/
dist: xenial # required for Python >= 3.7
language: python #os: linux
python:
#- 2.6 matrix:
- 2.7 fast_finish: true
- pypy include:
# - 3.2 - dist: trusty # required for Python 2.6
# - 3.3 language: python
- 3.4 python: 2.6
- 3.5 - dist: trusty
- 3.6 language: python
- 3.7 python: pypy
- 3.8-dev - dist: xenial
- pypy3.5 language: python
python: 2.7
- dist: trusty
language: python
python: 3.3
- dist: xenial
language: python
python: 3.4
- dist: xenial
language: python
python: 3.5
- dist: xenial
language: python
python: 3.6
- dist: xenial
language: python
python: 3.7
- dist: xenial
language: python
python: 3.8-dev
- dist: xenial
language: python
python: pypy3.5
before_install: before_install:
- echo "running under $TRAVIS_PYTHON_VERSION" - echo "running under $TRAVIS_PYTHON_VERSION"
- if [[ $TRAVIS_PYTHON_VERSION == 2* || $TRAVIS_PYTHON_VERSION == pypy* && $TRAVIS_PYTHON_VERSION != pypy3* ]]; then export F2B_PY=2; fi - if [[ $TRAVIS_PYTHON_VERSION == 2* || $TRAVIS_PYTHON_VERSION == pypy* && $TRAVIS_PYTHON_VERSION != pypy3* ]]; then export F2B_PY=2; fi
@ -64,8 +86,7 @@ script:
after_success: after_success:
- if [[ "$F2B_COV" = 1 ]]; then coveralls; fi - if [[ "$F2B_COV" = 1 ]]; then coveralls; fi
- codecov - codecov
matrix:
fast_finish: true
# Might be worth looking into # Might be worth looking into
#notifications: #notifications:
# email: true # email: true