From bf85823241596dd95d96f8741b00e7d4dc14770b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 25 Jan 2019 10:17:48 -0500 Subject: [PATCH] Added Python 3.7 testing --- .travis.yml | 9 +++++++++ HISTORY.rst | 5 +++++ setup.py | 1 + tox.ini | 9 +++++---- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 108e670..7ce8a99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,18 @@ matrix: env: TOXENV=py36-django-21 - python: 3.6 env: TOXENV=py36-django-master + - python: 3.7 + env: TOXENV=py37-django-111 + - python: 3.7 + env: TOXENV=py37-django-20 + - python: 3.7 + env: TOXENV=py37-django-21 + - python: 3.7 + env: TOXENV=py37-django-master allow_failures: - env: TOXENV=py35-django-master - env: TOXENV=py36-django-master + - env: TOXENV=py37-django-master install: - pip install tox script: diff --git a/HISTORY.rst b/HISTORY.rst index a4c11e2..a793a4b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,11 @@ History ======= +X.Y.Z (YYYY-MM-DD) +------------------ + +* Added testing for Python 3.7. + 1.9.0 (2018-08-04) ------------------ diff --git a/setup.py b/setup.py index 2f914d5..4d4edad 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ], packages=find_packages(exclude=['tests', 'tests.*']), include_package_data=True, diff --git a/tox.ini b/tox.ini index e5bd4be..7d7dd29 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = - py{27,34,35,36}-django111 - py{34,35,36}-django20 - py{35,36}-django21 - py{35,36}-master + py{27,34,35,36,37}-django111 + py3{4,5,6,7}-django20 + py3{5,6,7}-django21 + py3{5,6,7}-master [testenv] basepython = @@ -11,6 +11,7 @@ basepython = py34: python3.4 py35: python3.5 py36: python3.6 + py37: python3.7 commands = {envpython} setup.py test setenv= PYTHONWARNINGS=default