forked from andialbrecht/sqlparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (33 loc) · 866 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[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