33 lines
644 B
INI
33 lines
644 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = nosetests {posargs}
|
|
sitepackages = False
|
|
|
|
[tox:jenkins]
|
|
|
|
[testenv:cover]
|
|
setenv = NOSE_WITH_COVERAGE=1
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = flake8
|
|
commands = flake8 setup.py astara_router
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox,dist,doc,*.egg,build
|
|
ignore =
|
|
builtins = _
|
|
|
|
[testenv:build_image]
|
|
deps = diskimage-builder
|
|
commands = bash -xec "./scripts/build_dib_appliance.sh {posargs}"
|
|
|
|
[testenv:releasenotes]
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|