diff --git a/.travis.yml b/.travis.yml index f0858d7..12084cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,12 @@ python: - '3.4' - '3.5' - '3.6' +# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs +matrix: + include: + - python: 3.7 + dist: xenial + sudo: true fail_fast: true before_install: - pip install pycodestyle diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5b7d3fb..356845d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,7 @@ We welcome direct contributions to the python-http-client code base. Thank you! ##### Prerequisites ##### -- Python 2.6 through 3.6 +- Python 2.6, 2.7 or 3.3+ - There are no external dependencies ##### Initial setup: ##### diff --git a/Dockerfile b/Dockerfile index 8f5a44f..41bfe79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ubuntu:xenial -ENV PYTHON_VERSIONS='python2.6 python2.7 python3.4 python3.5 python3.6' \ +ENV PYTHON_VERSIONS='python2.6 python2.7 python3.4 python3.5 python3.6 python3.7' \ OAI_SPEC_URL="https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/oai_stoplight.json" # install testing versions of python, including old versions, from deadsnakes diff --git a/tox.ini b/tox.ini index 0a9baa1..b9fafbc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py26, py27, py32, py33, py34, py35, py36 +envlist = py26, py27, py32, py33, py34, py35, py36, py37 [testenv] commands = {envbindir}/python -m unittest discover -v [] @@ -43,4 +43,9 @@ basepython = python3.5 [testenv:py36] commands = {envbindir}/python -m unittest discover -v [] deps = -basepython = python3.6 \ No newline at end of file +basepython = python3.6 + +[testenv:py37] +commands = {envbindir}/python -m unittest discover -v [] +deps = +basepython = python3.7