summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2016-05-25 11:06:48 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2016-05-25 11:06:48 +0100
commit7e229ceb2f0bd119f307751bf55106bfec592297 (patch)
treed73f8041bf5681e06b66b9925e30142498625df1 /tox.ini
parent2a8388d26270ea58030206e6163b827c9700ec3f (diff)
downloaddeluge-7e229ceb2f0bd119f307751bf55106bfec592297.tar.gz
deluge-7e229ceb2f0bd119f307751bf55106bfec592297.tar.bz2
deluge-7e229ceb2f0bd119f307751bf55106bfec592297.zip
[Tests] Combine echo lines into python cmd for tox docs
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 3 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index de6d490bf..1fada8baa 100644
--- a/tox.ini
+++ b/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))"