travis: test with Python 3.8

This commit is contained in:
Christoph Reiter 2019-10-22 19:35:00 +02:00
parent 9ff2fe0722
commit d34f41efd4
1 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,11 @@ matrix:
language: python
python: "3.7"
env: CFLAGS="-Werror -coverage"
- os: linux
dist: xenial
language: python
python: "3.8"
env: CFLAGS="-Werror -coverage"
- os: linux
dist: xenial
language: python
@ -62,7 +67,7 @@ install:
- python -m pip install --upgrade setuptools
- python -m pip install --upgrade pytest flake8 sphinx sphinx_rtd_theme coverage codecov hypothesis attrs
- python -m pip install --upgrade mypy || true
- if [[ "$TRAVIS_OS_NAME" != "osx" ]] && [[ "$TRAVIS_PYTHON_VERSION" != "3.7" ]] && [[ "${TRAVIS_PYTHON_VERSION:0:4}" != "pypy" ]]; then python -m pip install --upgrade pygame; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]] && [[ "$TRAVIS_PYTHON_VERSION" != "3.8" ]] && [[ "${TRAVIS_PYTHON_VERSION:0:4}" != "pypy" ]]; then python -m pip install --upgrade pygame; fi
script:
- python -m coverage run --branch setup.py test