9bc1af398e
It is no longer necessary to install testrepository from bzr, so don't. That means we no longer need a separate py33 environment definition, or the special requirements file. Do not use distribute in the test virtualenvs. Change-Id: I1c0002d3992e25e7e0927eca85ccd5e4d57ee7d1
26 lines
487 B
INI
26 lines
487 B
INI
[tox]
|
|
distribute = False
|
|
envlist = py26,py27,py33,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox,dist,doc,*.egg,build
|
|
builtins = _
|