Skip to content

Commit f85b696

Browse files
committed
Use tox for (local) testing.
1 parent 1e5d8c9 commit f85b696

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ docs/build
33
dist
44
MANIFEST
55
.coverage
6+
.tox/
67
.cache/
78
*.egg-info/
89
htmlcov/

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Run Tests
2121

2222
To run the test suite run::
2323

24-
py.test
24+
tox
2525

26-
Note, you'll need py.test installed.
26+
Note, you'll need tox installed, of course.
2727

2828

2929
Links

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tox]
2+
envlist=py25,py26,py27,pypy
3+
4+
[testenv]
5+
deps=
6+
pytest
7+
pytest-cov
8+
commands=py.test --cov=sqlparse/ tests

0 commit comments

Comments
 (0)