forked from pytest-dev/pytest-testinfra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (32 loc) · 842 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
37
[tox]
envlist=py27,ansible1,py35,flake8,pylint,sphinxdoc
[testenv]
deps=
-rtest-requirements.txt
ansible>=2.4,<3
commands=
py.test {posargs:-v -n 4 --cov testinfra --cov-report xml --cov-report term test}
usedevelop=True
passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY
[testenv:ansible1]
basepython=python2.7
deps=
-rtest-requirements.txt
ansible>=1,<2
commands=
py.test {posargs:-v -k ansible test}
usedevelop=True
passenv=HOME TRAVIS DOCKER_CERT_PATH DOCKER_HOST DOCKER_TLS_VERIFY
[testenv:flake8]
basepython=python3
deps=hacking
commands=flake8 {posargs:testinfra test}
[testenv:pylint]
basepython=python3
deps=
pylint<2
-rtest-requirements.txt
commands=pylint {posargs:testinfra}
[testenv:sphinxdoc]
deps=-rdev-requirements.txt
commands=sphinx-build -W -b html doc/source doc/build