
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were introduced originally during the testr migration in an attempt to be conservative about the possibility that locale settings in the calling environment could cause consistency problems for test runs. In actuality, this should be unnecessary and any place where it does cause issues ought to be considered an actual bug. Also, having these in the configuration actively causes older pip to have problems with non-ASCII content in some package metadata files under Python 3, so drop it now. Change-Id: I8747a52141321549c56214710b70c5838aacc84e Closes-Bug: #1277495
29 lines
529 B
INI
29 lines
529 B
INI
[tox]
|
|
envlist = py26,py27,py32,py33,pep8
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
|
|
commands =
|
|
python -m git_review.tests.prepare
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:sdist]
|
|
commands = python setup.py sdist {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = E125
|
|
show-source = True
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|