mirror of
https://github.com/apache/impala.git
synced 2026-01-26 12:02:21 -05:00
sqlparse-0.1.19 is the last version of sqlparse that supports Python 2.6. Testing: - Ran all end-to-end tests Change-Id: Ide51ef3ac52d25a96b0fa832e29b6535197d23cb Reviewed-on: http://gerrit.cloudera.org:8080/10354 Reviewed-by: David Knupp <dknupp@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
38 lines
866 B
INI
38 lines
866 B
INI
[tox]
|
|
envlist=py26,py27,py32,py33,py34,pypy
|
|
|
|
[testenv]
|
|
deps=
|
|
pytest
|
|
pytest-cov
|
|
commands=
|
|
sqlformat --version # Sanity check.
|
|
py.test --cov=sqlparse/ tests
|
|
|
|
[testenv:py32]
|
|
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.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
|
|
|
|
[testenv:py34]
|
|
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.4/site-packages/sqlparse/ tests
|