summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2015-10-26 07:16:39 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2015-10-26 07:16:39 +0100
commite18b3c331e1a53962c2d9837bd9c62e227038d48 (patch)
treedd45c52a6ee397a4b7e172952dec1e3edbe2be95 /tox.ini
parent4e56fd7521e418420eef2c20adc1d0da8b875d88 (diff)
downloadsqlparse-e18b3c331e1a53962c2d9837bd9c62e227038d48.tar.gz
Run tests on PyPy3 too.
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 7dc5d71..c50ddcf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py32,py33,py34,py35,pypy
+envlist=py26,py27,py32,py33,py34,py35,pypy,pypy3
[testenv]
deps=
@@ -44,3 +44,12 @@ commands=
cp -r {toxinidir}/tests/ tests/
2to3 -w --no-diffs -n tests/
py.test --cov={envdir}/lib/python3.5/site-packages/sqlparse/ tests
+
+[testenv:pypy3]
+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}/site-packages/sqlparse/ tests