-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
39 lines (33 loc) · 877 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
39
[tox]
envlist =
py27,py34,py35,py36,pypy
{py2,py3}-cover
[testenv]
# Most of these are defaults but if you specify any you can't fall back
# to defaults for others.
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy
py2: python2.7
py3: python3.5
commands =
pip install pyramlson[testing]
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml --logging-level=INFO {posargs:}
[testenv:py2-cover]
commands =
pip install pyramlson[testing]
coverage run --source=pyramlson {envbindir}/nosetests
coverage xml -o coverage-py2.xml
setenv =
COVERAGE_FILE=.coverage.py2
[testenv:py3-cover]
commands =
pip install pyramlson[testing]
coverage run --source=pyramlson {envbindir}/nosetests
coverage xml -o coverage-py3.xml
setenv =
COVERAGE_FILE=.coverage.py3
# EOF