File: tox.ini

package info (click to toggle)
objgraph 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,092 kB
  • sloc: python: 1,208; makefile: 102; sh: 9
file content (32 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
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
[tox]
envlist = py27, py36, py37, py38

[testenv]
deps =
    py,py27,coverage,coverage2: mock
commands =
    python tests.py {posargs}

[testenv:py]
commands =
    python --version
    python tests.py {posargs}

[testenv:coverage]
deps =
    {[testenv]deps}
    coverage
    coverage-python-version
commands =
    coverage run tests.py
    coverage report -m --fail-under=100

[testenv:coverage2]
basepython = python2
deps = {[testenv:coverage]deps}
commands = {[testenv:coverage]commands}

[testenv:coverage3]
basepython = python3
deps = {[testenv:coverage]deps}
commands = {[testenv:coverage]commands}