infra-specs/tox.ini
Sean McGinnis 9c282d47ba
Move from oslosphinx to openstackdocstheme
The oslosphinx package is no longer supported. Jobs should also be moved
to run with Python 3.

Change-Id: I13aa6e89dc0752157cf9efc66844c5141f3b77ce
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-15 08:14:34 -05:00

27 lines
529 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling