зеркало из https://github.com/mozilla/gecko-dev.git
25 строки
505 B
INI
25 строки
505 B
INI
|
# 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 run "pip install tox" and then run "tox" from this
|
||
|
# directory.
|
||
|
|
||
|
[tox]
|
||
|
envlist = py26, py27, py32, py33, py34
|
||
|
|
||
|
[testenv]
|
||
|
deps =
|
||
|
pytest
|
||
|
flake8
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}/test
|
||
|
commands =
|
||
|
py.test {posargs}
|
||
|
flake8 --exclude=build,.tox,.git
|
||
|
|
||
|
[testenv:py26]
|
||
|
deps =
|
||
|
flake8
|
||
|
pytest
|
||
|
unittest2
|