File: tox.ini

package info (click to toggle)
python-dpkt 1.9.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,104 kB
  • sloc: python: 14,911; makefile: 23
file content (35 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py27, py35, py36, py37, py38

[testenv]
install_command =
    pip install {opts} {packages}
deps =
    pytest
    coverage
    pytest-cov
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

[coverage:run]
relative_files = True
command_line = -m pytest dpkt

[coverage:report]
exclude_lines =
    @abstractmethod