File: tox.ini

package info (click to toggle)
ansible-lint 4.1.0%2Bdfsg.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,096 kB
  • sloc: python: 3,373; sh: 4; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 823 bytes parent folder | download
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/*