41a801f6f4
Bug #1290562 believes new setuptools fixes the the issue now, try a new version to see. Change-Id: Ifcc7bf4b0e94d96fca5d87ee85de788564b4aba6
25 lines
541 B
INI
25 lines
541 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = py27,pypy,pep8
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
# work around until pypy vs. setuptools issue in bug 1290562 is fixed
|
|
[testenv:pypy]
|
|
deps = setuptools>3.4
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[flake8]
|
|
ignore = H803
|
|
exclude = .venv,.git,.tox,dist,doc,*egg,build
|