requirements/tox.ini
Sean Dague eb52e76fd5 workaround pypy in requirements
pypy is blocking all requirements merge at the moment, which is
problematic as we've got some changes that should land prior to
icehouse. Implement the work around that fungi posted to IRC.

Related-Bug: #1290562
Change-Id: I973e71f96903f687c1e3b6c00db93949d5b88d2f
2014-03-17 23:56:59 +00:00

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.2
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[flake8]
ignore = H803
exclude = .venv,.git,.tox,dist,doc,*egg,build