forked from pytest-dev/pytest-testinfra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (29 loc) · 740 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
[tox]
envlist=py27,py3,flake8,pylint,sphinxdoc,check-manifest
[testenv]
deps=
-rtest-requirements.txt
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:flake8]
basepython=python3
deps=hacking
commands=flake8 {posargs:testinfra test}
[testenv:pylint]
basepython=python3
deps=
pylint
-rtest-requirements.txt
commands=pylint {posargs:testinfra}
[testenv:sphinxdoc]
basepython=python3
deps=-rdev-requirements.txt
commands=sphinx-build -W -b html doc/source doc/build
[testenv:check-manifest]
skip_install = true
deps=
check-manifest
commands=
{envpython} -m check_manifest {toxinidir}