summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2013-04-20 08:08:31 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2013-04-20 08:08:31 +0200
commit90ebf68e551805a30cf7c9907f04f7038e941b5a (patch)
treeacb89ccfae2695e915750e7c35da9f3d406ac416 /tox.ini
parent96d0a904f083ed563d2231c31cceaa077d5bc417 (diff)
downloadsqlparse-90ebf68e551805a30cf7c9907f04f7038e941b5a.tar.gz
Add Python 3.3 to tox configuration.
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 eebfa44..cb15600 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py24,py25,py26,py27,pypy,py32
+envlist=py24,py25,py26,py27,py32,py33,pypy
[testenv]
deps=
@@ -17,3 +17,12 @@ commands=
cp -r {toxinidir}/tests/ tests/
2to3 -w --no-diffs -n tests/
py.test --cov={envdir}/lib/python3.2/site-packages/sqlparse/ tests
+
+[testenv:py33]
+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.3/site-packages/sqlparse/ tests