30 lines
630 B
INI
30 lines
630 B
INI
[tox]
|
|
envlist = py27,py33,pypy,pep8
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
sitepackages = False
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
install_command = pip install -U --allow-external tooz --allow-unverified tooz {opts} {packages}
|
|
commands = {toxinidir}/run-tests.sh {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
hacking<0.9
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = None
|
|
exclude = .tox,doc
|
|
show-source = true
|
|
|
|
[hacking]
|
|
import_exceptions =
|
|
gnocchi.openstack.common.gettextutils
|
|
six.moves.mox
|