From e259f1e5131bcafd3a1a88ac604e45330d61e382 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 22 Aug 2018 05:39:13 -0700 Subject: Add support for Python 3.7 and 3.8 with allowed failure of 3.8 --- .travis.yml | 8 ++++++-- tox.ini | 9 ++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9884c3d19..30e7e5b79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,14 @@ matrix: env: TOXENV=docs - python: 3.5 env: TOXENV=lint - - python: nightly + - python: 3.7 env: TOXENV=py37 + dist: xenial + sudo: true + - python: nightly + env: TOXENV=py38 allow_failures: - - env: TOXENV=py37 + - env: TOXENV=py38 install: - travis_retry pip install tox diff --git a/tox.ini b/tox.ini index 758d4216b..5a73bc426 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = lint, - py27,py34,py35,py36,pypy,pypy3, + py27,py34,py35,py36,py37,py38,pypy,pypy3, docs,{py2,py3}-cover,coverage, [testenv] @@ -13,6 +13,7 @@ basepython = py35: python3.5 py36: python3.6 py37: python3.7 + py38: python3.8 pypy: pypy pypy3: pypy3 py2: python2.7 @@ -48,6 +49,12 @@ commands = python pyramid/scaffolds/tests.py deps = virtualenv +[testenv:py37-scaffolds] +basepython = python3.7 +commands = + python pyramid/scaffolds/tests.py +deps = virtualenv + [testenv:pypy-scaffolds] basepython = pypy commands = -- cgit v1.2.3