summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-24 10:23:59 -0400
committerTim Graham <timograham@gmail.com>2015-10-24 10:33:37 -0400
commit0e37e1f4003f972a7dab5d7d011dcbd85f2bdf1d (patch)
treee17ed5544bc9c6925511a4cada8a551f79c265d5 /tox.ini
parentc834d49d054c9d0405450893036ec9a1ca9145dc (diff)
downloadsqlparse-0e37e1f4003f972a7dab5d7d011dcbd85f2bdf1d.tar.gz
Add Python 3.5 to tox/travis config.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e797ca9..7dc5d71 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py32,py33,py34,pypy
+envlist=py26,py27,py32,py33,py34,py35,pypy
[testenv]
deps=
@@ -35,3 +35,12 @@ commands=
cp -r {toxinidir}/tests/ tests/
2to3 -w --no-diffs -n tests/
py.test --cov={envdir}/lib/python3.4/site-packages/sqlparse/ tests
+
+[testenv:py35]
+changedir={envdir}
+commands=
+ sqlformat --version # Sanity check.
+ rm -rf tests/
+ cp -r {toxinidir}/tests/ tests/
+ 2to3 -w --no-diffs -n tests/
+ py.test --cov={envdir}/lib/python3.5/site-packages/sqlparse/ tests