Joshua Hesketh | a6e26f5 | 2013-07-29 11:51:20 +1000 | [diff] [blame] | 1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
| 2 | # in multiple virtualenvs. This configuration file will run the |
| 3 | # test suite on all supported python versions. To use it, "pip install tox" |
| 4 | # and then run "tox" from this directory. |
| 5 | |
| 6 | [tox] |
| 7 | envlist = py26, py27, py33 |
| 8 | |
| 9 | [testenv] |
| 10 | sitepackages = True |
| 11 | setenv = VIRTUAL_ENV={envdir} |
| 12 | LANG=en_US.UTF-8 |
| 13 | LANGUAGE=en_US:en |
| 14 | LC_ALL=C |
| 15 | deps = -U |
| 16 | -r{toxinidir}/requirements.txt |
| 17 | -r{toxinidir}/test-requirements.txt |
| 18 | commands = {envpython} setup.py test |