[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

[tox]
envlist=py25,py26,py27,pypy,py32

[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

Add a sanity check that bin/sqlformat parses.
Tests: Add a sanity check that bin/sqlformat parses.
