diff options
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | tox.ini | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 01adfd9..7f145d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ matrix: env: - TOX_ENV=py35 before_install: - - sudo apt-get install pypy + - sudo apt-get install pypy pypy3 install: - pip install tox script: @@ -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 |
