[Tests] Combine echo lines into python cmd for tox docs
This commit is contained in:
parent
2a8388d262
commit
7e229ceb2f
7
tox.ini
7
tox.ini
|
@ -186,11 +186,10 @@ whitelist_externals =
|
|||
[testenv:docs]
|
||||
sitepackages = {[docsbase]sitepackages}
|
||||
deps = {[docsbase]deps}
|
||||
whitelist_externals = echo
|
||||
commands =
|
||||
echo -e "sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins"\
|
||||
"\n""sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html"
|
||||
python -c "import subprocess, sys; proc = subprocess.Popen(\
|
||||
python -c "print '> sphinx-apidoc --force -o docs/source/modules/ deluge deluge/plugins\n'\
|
||||
'> sphinx-build -v -E -T -b html -d docs/build/doctrees docs/source docs/build/html';\
|
||||
import subprocess, sys; proc = subprocess.Popen(\
|
||||
'python setup.py build_docs', shell=True, stderr=subprocess.PIPE);\
|
||||
err = proc.communicate()[1]; print err; sys.exit(bool(err))"
|
||||
|
||||
|
|
Loading…
Reference in New Issue