diff options
author | Sofia Wallin <sofia.wallin@ericsson.com> | 2017-02-03 09:46:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-03 09:46:33 +0000 |
commit | 04221a673fb2774d237c1732dca8a19ce119f205 (patch) | |
tree | 5d7522786715cb4c5fc561e4a7c07bc687f53ac6 /tox.ini | |
parent | 1faf85b14d14a4f7331094a449d8e6daff67b7f0 (diff) | |
parent | 77ea445fc757efa8e57d0490d6bcb5e1e1715eb2 (diff) |
Merge "New Tox build script"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..c1993d9ee --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +[tox] +minversion = 1.6 +envlist = docs,docs-linkcheck +skipsdist = true + +[testenv:docs] +deps = -r{toxinidir}/etc/requirements.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + echo "Generated docs available in {toxinidir}/docs/_build/html" +whitelist_externals = echo + +[testenv:docs-linkcheck] +deps = -r{toxinidir}/etc/requirements.txt +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
\ No newline at end of file |