forked from ianepperson/telnetsrvlib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
41 lines (36 loc) · 826 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
38
39
40
41
[tox]
envlist = py35, py36
skipsdist = True
[testenv]
usedevelop = True
passenv = *
whitelist_externals = echo
setenv =
COVERAGE_FILE = .coverage.{envname}
PYTHONDONTWRITEBYTECODE = pls
deps =
coverage
pytest_timeout
pytest-xdist
pytest-cov
commands =
pip --default-timeout=1000 install -r requirements.txt
{envpython} -m pytest -rsx -v --timeout=30 --cov={toxinidir}/telnetsrv --cov-report term-missing
[testenv:cov-init]
setenv = COVERAGE_FILE = .coverage
deps = coverage
commands = coverage erase
[testenv:py35]
basepython =
py35: python3.5
envdir = {toxinidir}/.tox/py35
[testenv:py36]
basepython =
py36: python3.6
envdir = {toxinidir}/.tox/py36
[testenv:cov-report]
setenv = COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage combine
coverage report