forked from opendaylight/integration-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (26 loc) · 732 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
minversion = 1.6.0
envlist = docs,coala,pkg_unittests
skipsdist = true
[testenv:coala]
basepython = python3
deps =
coala==0.11
coala-bears==0.11
# Requests 2.16 breaks dependencies
requests<2.16
nodeenv
commands =
nodeenv -p
npm install --global dockerfile_lint remark-cli remark-lint write-good
python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
coala --non-interactive
[testenv:docs]
deps = sphinx
commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
[testenv:pkg_unittests]
# TODO: Support Python 3
#basepython = python3
deps =
-r{toxinidir}/packages/requirements.txt
commands = python -m unittest packages.test_lib