Added uncertainties and coverage to tox testing.
This commit is contained in:
parent
b4fdc55f35
commit
084f8079dd
57
tox.ini
57
tox.ini
@ -1,24 +1,77 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py26,py27,py32,py33,numpy26,numpy27,numpy32
|
envlist = py26,py27,py32,py33,numpy26,numpy27,numpy32,numpy33,
|
||||||
|
py26u,py27u,py32u,py33u,numpy26u,numpy27u,numpy32u,numpy33u
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = {envpython} setup.py test
|
deps = coverage
|
||||||
|
commands = coverage run -p --source=pint setup.py test
|
||||||
|
|
||||||
|
setenv=
|
||||||
|
COVERAGE_FILE=.coverage.{envname}
|
||||||
|
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
deps = unittest2
|
deps = unittest2
|
||||||
|
coverage
|
||||||
|
|
||||||
[testenv:numpy26]
|
[testenv:numpy26]
|
||||||
deps = numpy
|
deps = numpy
|
||||||
unittest2
|
unittest2
|
||||||
|
coverage
|
||||||
|
|
||||||
[testenv:numpy27]
|
[testenv:numpy27]
|
||||||
basepython=python2.7
|
basepython=python2.7
|
||||||
deps = numpy
|
deps = numpy
|
||||||
|
coverage
|
||||||
|
|
||||||
[testenv:numpy32]
|
[testenv:numpy32]
|
||||||
basepython=python3.2
|
basepython=python3.2
|
||||||
deps = numpy
|
deps = numpy
|
||||||
|
coverage
|
||||||
|
|
||||||
[testenv:numpy33]
|
[testenv:numpy33]
|
||||||
basepython=python3.3
|
basepython=python3.3
|
||||||
deps = numpy
|
deps = numpy
|
||||||
|
coverage
|
||||||
|
|
||||||
|
|
||||||
|
[testenv:py26u]
|
||||||
|
deps = unittest2
|
||||||
|
uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:py27u]
|
||||||
|
deps = uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:py32u]
|
||||||
|
deps = uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:py33u]
|
||||||
|
deps = uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:numpy26u]
|
||||||
|
deps = numpy
|
||||||
|
unittest2
|
||||||
|
uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:numpy27u]
|
||||||
|
basepython=python2.7
|
||||||
|
deps = numpy
|
||||||
|
uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:numpy32u]
|
||||||
|
basepython=python3.2
|
||||||
|
deps = numpy
|
||||||
|
uncertainties
|
||||||
|
coverage
|
||||||
|
|
||||||
|
[testenv:numpy33u]
|
||||||
|
basepython=python3.3
|
||||||
|
deps = numpy
|
||||||
|
uncertainties
|
||||||
|
coverage
|
||||||
|
Loading…
Reference in New Issue
Block a user