Test on Python 3.9-dev and nightly on Travis CI
MODIFY
.travis.yml
.travis.yml
@@ -47,8 +47,10 @@ jobs:
env: NOX_SESSION=test-3.7
- python: 3.8
env: NOX_SESSION=test-3.8
- - python: nightly
+ - python: 3.9-dev
env: NOX_SESSION=test-3.9
+ - python: nightly
+ env: NOX_SESSION=test-3.10
- python: pypy2.7-6.0
env: NOX_SESSION=test-pypy
- python: pypy3.5-6.0

MODIFY
_travis/run.sh
_travis/run.sh
set -exo pipefail
if [ -n "${NOX_SESSION}" ]; then
- nox -s "${NOX_SESSION}"
+ nox -s "${NOX_SESSION}" --error-on-missing-interpreters
else
downstream_script="${TRAVIS_BUILD_DIR}/_travis/downstream/${DOWNSTREAM}.sh"
if [ ! -x "$downstream_script" ]; then

MODIFY
noxfile.py
noxfile.py
@@ -40,7 +40,7 @@ def tests_impl(session, extras="socks,secure,brotli"):
session.run("coverage", "xml")
-@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "pypy"])
+@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy"])
def test(session):
tests_impl(session)

Test on Python 3.9-dev and nightly on Travis CI