qa-specs/tox.ini
Matthew Treinish e2ddba3789 Remove run_tests.sh
We have tox available to run things in the specs repo, having a
run_tests.sh script is confusing to people because they think it
covers what is run in the gate when in actuality tox -edocs is
basically what we currently gate on.

Change-Id: I4f414055b7c2a3bb3ecc54917b061718e853e7cb
2014-05-22 10:44:49 -04:00

27 lines
525 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/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
[testenv:rstcheck]
commands = ./tools/rstcheck.py -d specs