Skip to content

Commit 443480a

Browse files
committed
Run tests with tox
1 parent eb08e7b commit 443480a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.pyc
33
build/
44
dist/
5+
.tox/

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[tox]
2+
envlist =
3+
py27-flake8,
4+
py26, py27, py32, py33, py34,
5+
6+
[testenv]
7+
commands = python setup.py test
8+
9+
[testenv:py27-flake8]
10+
deps = flake8==2.2.2
11+
commands = flake8 --verbose

0 commit comments

Comments
 (0)