diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-05-22 13:12:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-22 13:12:46 +0000 |
commit | 11e81955122f66f8d4d211fb81c1111af2eddbee (patch) | |
tree | 00b9e373d50f0a24613e98bb72dc06ce05717228 /tox.ini | |
parent | 8b67d01c2974909a33829b2c4664f6b6d62adaf0 (diff) | |
parent | cb7c5c464adb4bf302e50cac7c989afe54640e47 (diff) |
Merge "Generate api doc when running tox"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,8 @@ [tox] -envlist = pep8,pylint,py27 +envlist = docs,pep8,pylint,py27 [testenv] +usedevelop = True deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt @@ -13,6 +14,10 @@ commands = nosetests --with-xunit \ --cover-html \ functest/tests/unit +[testenv:docs] +basepython = python2.7 +commands = sphinx-build -b html docs/api/ docs/api/_build + [testenv:pep8] basepython = python2.7 deps = |