6 changes: 6 additions & 0 deletions test-requirements.txt
@@ -0,0 +1,6 @@
testrepository
python-subunit
flake8
mccabe
coverage
coveralls
20 changes: 20 additions & 0 deletions tox.ini
@@ -0,0 +1,20 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py35, py27, pep8

[testenv]
commands = {envpython} setup.py test
deps =
-rrequirements.txt
-rtest-requirements.txt

[testenv:pep8]
deps=
-rrequirements.txt
-rtest-requirements.txt
commands=
flake8 --ignore F401 libindic