surveil/tox.ini
aviau 1ead9a3c2b httpretty can fail in Python 3.4 with wrong LC_ALL
Change-Id: Ic3d4c76f022a102fd8bbf5636cdf8b58393fa7d1
2015-05-14 22:11:34 -04:00

28 lines
629 B
INI

[tox]
minverson = 1.6
envlist = py34, py27, pep8, docs
skipsdist = True
[testenv]
setenv = LANGUAGE=en_US
LC_ALL=en_US.utf-8
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
exclude = .venv,.git,.tox,env,dist,*openstack/common*,*lib/python*/,*egg,build,*doc/conf.py,surveil/cmd/pack_upload.py