fuel: Switch to Ubuntu Bionic
[pharos.git] / tox.ini
1 ##############################################################################
2 # Copyright (c) 2018 Linux Foundation and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 [tox]
9 minversion = 1.6
10 envlist =
11     docs,
12     docs-linkcheck
13 skipsdist = true
14
15 [testenv:docs]
16 deps = -rdocs/requirements.txt
17 commands =
18     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
19     echo "Generated docs available in {toxinidir}/docs/_build/html"
20 whitelist_externals = echo
21
22 [testenv:docs-linkcheck]
23 deps = -rdocs/requirements.txt
24 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck