forked from dranjan/python-plyfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
34 lines (31 loc) · 725 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
[tox]
skipsdist = True
envlist = global-init,{py27,py34}-{numpy1.8,numpy1.9,numpy1.10,numpy1.11},global-finalize
[testenv:global-init]
skip_install = True
usedevelop = False
deps =
coverage
commands = coverage erase
[testenv]
usedevelop = True
deps =
pytest
pytest-cov
numpy1.8: numpy>=1.8,<1.9
numpy1.9: numpy>=1.9,<1.10
numpy1.10: numpy>=1.10,<1.11
numpy1.11: numpy>=1.11,<1.12
setenv =
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
commands = py.test test -v --cov=plyfile
[testenv:global-finalize]
skip_install = True
usedevelop = False
deps =
coverage
setenv =
COVERAGE_FILE = {toxworkdir}/.coverage
commands =
coverage combine
coverage html -d {toxworkdir}/htmlcov