File: tox.ini

package info (click to toggle)
python-junit-xml 1.9-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: python: 892; makefile: 21
file content (39 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (4)
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
[tox]
envlist = py27, pypy, py35, py36, py37, py38, cover, flake8
sitepackages = False

[testenv]
deps =
    pytest
    pytest-sugar
    six
commands =
    py.test \
        --junitxml={envlogdir}/junit-{envname}.xml \
        {posargs}

[testenv:cover]
deps =
    pytest
    pytest-sugar
    pytest-cov
    six
commands =
    py.test \
        --cov=junit_xml \
        --cov-report=term-missing \
        --cov-report=xml \
        --cov-report=html \
        {posargs}

[testenv:flake8]
deps =
    flake8-black
    pytest
    pytest-sugar
    pytest-flake8
    six
commands =
    py.test \
        --flake8 \
        {posargs}