forked from kbandla/dpkt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (37 loc) · 741 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
42
43
[tox]
envlist = py27, py35, py36, py37, py38, docs
[testenv]
install_command =
pip install {opts} {packages}
deps =
setuptools
wheel
pytest==3.2.5
coverage
pytest-cov==2.5.1
stdeb
commands =
py.test {posargs:--cov=dpkt dpkt}
[testenv:style]
deps =
flake8
commands =
python setup.py flake8
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
usedevelop = true
commands =
coverage report
coveralls
[testenv:docs]
changedir=docs
deps = -rdocs/requirements.txt
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[coverage:run]
relative_files = True
command_line = -m pytest dpkt
[coverage:report]
exclude_lines =
@abstractmethod