diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-21 12:27:24 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-21 13:19:18 +0200 |
commit | cb7c5c464adb4bf302e50cac7c989afe54640e47 (patch) | |
tree | fec111648a614ee9581c7a6cad5364baf429d74b /tox.ini | |
parent | f446dec6e48264d67f606d3b45b20b7202838779 (diff) |
Generate api doc when running tox
Change-Id: I78b18981d9f916e6174d44c6280706e404c7c9f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 = |