-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (32 loc) · 925 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
[tox]
envlist = coverage-erase,py27,py36,py37,coverage-report
[testenv]
extras = tests
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch --parallel -m unittest discover
[testenv:coverage-erase]
basepython = python3.7
commands = coverage erase
[testenv:py27-codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov
[testenv:py36-codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov
[testenv:py37-codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov
[testenv:coverage-report]
basepython = python3.7
commands =
coverage combine
coverage report