Add Neon CD repo example RPM config
[integration/packaging.git] / tox.ini
1 [tox]
2 minversion = 1.6.0
3 envlist = docs,coala,pkg_unittests
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala==0.11
10     coala-bears==0.11
11     # Requests 2.16 breaks dependencies
12     requests<2.16
13     nodeenv==1.1.2
14 commands =
15     nodeenv -p
16     npm install --global dockerfile_lint remark-cli remark-lint write-good
17     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
18     coala --non-interactive
19
20 [testenv:docs]
21 deps = -rdocs/requirements.txt
22 commands =
23     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
24     echo "Generated docs available in {envtmpdir}/html"
25 whitelist_externals = echo
26
27 [testenv:docs-linkcheck]
28 deps = -rdocs/requirements.txt
29 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/linkcheck
30
31 [testenv:pkg_unittests]
32 # TODO: Support Python 3
33 #basepython = python3
34 deps =
35     -r{toxinidir}/packages/requirements.txt
36 commands = python -m unittest packages.test_lib