summaryrefslogtreecommitdiff
path: root/tox.ini
blob: fe5ef17fcc08443b55a09dd9502b9295ebc2a8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[tox]
envlist=py25,py26,py27,pypy,py32

[testenv]
deps=
  pytest
  pytest-cov
commands=py.test --cov=sqlparse/ tests

[testenv:py32]
changedir={envdir}
commands=
  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