diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ [tox] minversion = 2.2 -envlist = linters, docs, py34, py35, py36, py27, cover +envlist = linters, docs, docs-linkcheck, py34, py35, py36, py27, cover skip_missing_interpreters = true # custom vars (no meaning to tox) install_test_deps = pip install -q -r test-requirements.txt @@ -76,13 +76,15 @@ commands = jenkins-jobs test -o .test/new/out/ .test/new/config/ [testenv:docs] commands = {[tox]install_test_deps} - python setup.py build_sphinx {posargs} + sphinx-build -n -b html -d doc/build/doctrees doc/source doc/build/html [testenv:docs-linkcheck] # If you are behind a proxy, for this test to work you will need to set # TOX_TESTENV_PASSENV="http_proxy https_proxy no_proxy ..." to pass # through the proxy environment settings to be able to validate any urls. -commands = python setup.py build_sphinx -b linkcheck +commands = + {[tox]install_test_deps} + sphinx-build -n -b linkcheck -d doc/build/doctrees doc/source doc/build/linkcheck [testenv:venv] commands = {posargs} |