forked from AlekseiSidorenko/ansible-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (32 loc) · 823 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
30
31
32
33
34
35
36
[tox]
minversion = 3.5.3
envlist = flake8,py{37,36,35,27}-ansible{27,26,25,devel}
skip_missing_interpreters = True
[testenv]
deps =
ansible25: ansible>=2.5,<2.6
ansible26: ansible>=2.6,<2.7
ansible27: ansible>=2.7,<2.8
ansibledevel: git+https://github.com/ansible/ansible.git
-rtest-deps.txt
commands = nosetests []
passenv = HOME
# recreate = True
[testenv:flake8]
deps = flake8
commands = flake8
usedevelop = True
[testenv:docs]
whitelist_externals = make
deps = sphinx
commands = make -C docs/docsite htmldocs
usedevelop = True
[testenv:metadata-validation]
deps =
collective.checkdocs
twine
usedevelop = False
# Ref: https://twitter.com/di_codes/status/1044358639081975813
commands =
python -m setup checkdocs check --metadata --restructuredtext --strict --verbose
twine check .tox/dist/*