OpenStack API Special Interest Group
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
732 B

# Hold back to 1.4, since that's what's in Fedora 20 repos
# and we don't need anything newer for nova-specs tests
minversion = 1.4
envlist = docs,py37,linters
skipsdist = True
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
whitelist_externals = bash
commands =
# Check the *.rst files
doc8 README.rst guidelines
# Check the JSON files
bash -c 'for f in guidelines/*.json; do echo Checking "$f"; python -m json.tool "$f" /dev/null || exit 1; done'
commands = {posargs}
commands =
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html