Removes the nova patch for NFS
[apex.git] / tox.ini
1 [tox]
2 envlist = docs,docs-linkcheck,pep8,pylint,py35
3
4 [testenv]
5 usedevelop = True
6 deps =
7   -r{toxinidir}/requirements.txt
8   -r{toxinidir}/test-requirements.txt
9 commands =
10   coverage erase
11   nosetests-3.4 --with-xunit \
12   --with-coverage \
13   --cover-tests \
14   --cover-package=apex \
15   --cover-xml \
16   --cover-min-percentage 95 \
17   {posargs}
18   coverage report
19
20 [testenv:pep8]
21 basepython = python3
22 commands = flake8 --exclude .build,build --ignore=F401
23
24 [testenv:py35]
25 basepython = python3
26
27 [testenv:docs]
28 deps = -rdocs/requirements.txt
29 commands =
30     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
31     echo "Generated docs available in {toxinidir}/docs/_build/html"
32 whitelist_externals = echo
33
34 [testenv:docs-linkcheck]
35 deps = -rdocs/requirements.txt
36 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck