Skip to content

Commit

Permalink
test: support for tox
Browse files Browse the repository at this point in the history
* Adds support for tox testing.  (closes #4)

Signed-off-by: Jiri Kuncar <[email protected]>
  • Loading branch information
jirikuncar committed Aug 26, 2014
1 parent 5fb2148 commit e2f8b13
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
*.egg
*.egg-info

*.pyc
*~
.cache
.coverage
.ropeproject
.tox
MANIFEST
build
build/*
Expand Down
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
pytest-cov
pytest-pep8
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tox]
envlist = py26, py27, py33

[testenv]
deps = -rrequirements-test.txt
commands = {envpython} -m pytest

0 comments on commit e2f8b13

Please sign in to comment.