travis-ci: add 3.7-dev

This commit is contained in:
Christoph Reiter 2018-04-15 10:08:41 +02:00
parent cb35d86263
commit 1786acfe70
1 changed files with 6 additions and 1 deletions

View File

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