Skip to content

Commit 4bb4139

Browse files
committed
Merge pull request andialbrecht#204 from timgraham/py35
Add Python 3.5 to tox/travis config.
2 parents 4cc7e0c + 0e37e1f commit 4bb4139

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ env:
66
- TOX_ENV=py33
77
- TOX_ENV=py34
88
- TOX_ENV=pypy
9+
matrix:
10+
include:
11+
- python: 3.5
12+
env:
13+
- TOX_ENV=py35
914
before_install:
1015
- sudo apt-get install pypy
1116
install:

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ def get_version():
115115
'Programming Language :: Python :: 3',
116116
'Programming Language :: Python :: 3.2',
117117
'Programming Language :: Python :: 3.3',
118+
'Programming Language :: Python :: 3.4',
119+
'Programming Language :: Python :: 3.5',
118120
'Topic :: Database',
119121
'Topic :: Software Development'
120122
],

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py26,py27,py32,py33,py34,pypy
2+
envlist=py26,py27,py32,py33,py34,py35,pypy
33

44
[testenv]
55
deps=
@@ -35,3 +35,12 @@ commands=
3535
cp -r {toxinidir}/tests/ tests/
3636
2to3 -w --no-diffs -n tests/
3737
py.test --cov={envdir}/lib/python3.4/site-packages/sqlparse/ tests
38+
39+
[testenv:py35]
40+
changedir={envdir}
41+
commands=
42+
sqlformat --version # Sanity check.
43+
rm -rf tests/
44+
cp -r {toxinidir}/tests/ tests/
45+
2to3 -w --no-diffs -n tests/
46+
py.test --cov={envdir}/lib/python3.5/site-packages/sqlparse/ tests

0 commit comments

Comments
 (0)