Skip to content

Commit 91a234c

Browse files
committed
Add support for Python 3.7
1 parent 6326325 commit 91a234c

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ python:
66
- '3.4'
77
- '3.5'
88
- '3.6'
9+
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
10+
matrix:
11+
include:
12+
- python: 3.7
13+
dist: xenial
14+
sudo: true
915
env:
1016
global:
1117
- CC_TEST_REPORTER_ID=$TRAVIS_CODE_CLIMATE_TOKEN

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def getRequires():
3030
install_requires=getRequires(),
3131
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
3232
classifiers=[
33-
'Programming Language :: Python :: 2',
3433
'Programming Language :: Python :: 2.7',
3534
'Programming Language :: Python :: 3',
3635
'Programming Language :: Python :: 3.4',
3736
'Programming Language :: Python :: 3.5',
38-
'Programming Language :: Python :: 3.6'
37+
'Programming Language :: Python :: 3.6',
38+
'Programming Language :: Python :: 3.7',
3939
]
4040
)

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py34, py35, py36
7+
envlist = py27, py34, py35, py36, py37
88

99
[testenv]
1010
commands = coverage erase
@@ -33,4 +33,9 @@ basepython = python3.5
3333
[testenv:py36]
3434
commands = {[testenv]commands}
3535
deps = {[testenv]deps}
36-
basepython = python3.6
36+
basepython = python3.6
37+
38+
[testenv:py37]
39+
commands = {[testenv]commands}
40+
deps = {[testenv]deps}
41+
basepython = python3.7

0 commit comments

Comments
 (0)