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