cac04e0db2
Add a simple doc publisher target that just includes the existing README. Some of the infra jobs that fail requirements try to point you to the requirements documentation; currently this is given as a raw RST link to the web-view of the git tree. It would be nicer to publish this as formatted HTML like all the other docs. Change-Id: I56b60a950c64880dd551d11e1997cd5ecbae283c
35 lines
758 B
INI
35 lines
758 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = validate,py27,pep8
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:update]
|
|
commands = update-requirements {posargs}
|
|
|
|
[testenv:generate]
|
|
commands = generate-constraints {posargs}
|
|
|
|
[testenv:validate]
|
|
commands = validate-constraints {toxinidir}/global-requirements.txt {toxinidir}/upper-constraints.txt {toxinidir}/blacklist.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
ignore = H803
|
|
exclude = .venv,.git,.tox,dist,doc,*egg,build
|