forked from kyrus/python-junit-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (36 loc) · 630 Bytes
/
tox.ini
File metadata and controls
39 lines (36 loc) · 630 Bytes
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}