diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 07:16:39 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 07:16:39 +0100 |
| commit | e18b3c331e1a53962c2d9837bd9c62e227038d48 (patch) | |
| tree | dd45c52a6ee397a4b7e172952dec1e3edbe2be95 | |
| parent | 4e56fd7521e418420eef2c20adc1d0da8b875d88 (diff) | |
| download | sqlparse-e18b3c331e1a53962c2d9837bd9c62e227038d48.tar.gz | |
Run tests on PyPy3 too.
| -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 |
