30 lines
628 B
INI
Raw Normal View History

2015-11-03 14:16:36 +00:00
[tox]
2016-02-16 07:01:31 +00:00
envlist = pep8,py27
2015-11-03 14:16:36 +00:00
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
install_command =
pip install --allow-unverified python-apt {opts} {packages}
commands = ostestr {posargs}
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
2016-02-16 07:01:31 +00:00
[testenv:pep8]
2015-11-03 14:16:36 +00:00
basepython = python2.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = flake8 {posargs} hooks unit_tests tests
charm-proof
2015-11-03 14:16:36 +00:00
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E402,E226
exclude = hooks/charmhelpers