forked from cyso/omniconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (46 loc) · 1021 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
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
envlist = setup,py27,py33,py34,py35,pypy,jython,coverage,sphinx
[testenv]
deps =
configobj
PyYAML
coverage
nose
mock
commands =
nosetests
/bin/mv .coverage reports/coverage-{envname}.dat
/bin/mv coverage.xml reports/coverage-{envname}.xml
/bin/mv nosetests.xml reports/nosetests-{envname}.xml
[testenv:jython]
deps =
configobj
PyYAML
coverage
nose
mock
commands =
nosetests
/bin/mv nosetests.xml reports/nosetests-{envname}.xml
[testenv:setup]
deps =
commands =
/bin/rm -fr reports
/bin/mkdir reports
[testenv:coverage]
deps = coverage
commands =
/bin/sh -c 'coverage combine reports/coverage-*.dat'
coverage xml
/bin/mv .coverage reports/coverage-all.dat
/bin/mv coverage.xml reports/coverage-all.xml
[testenv:flake8]
deps =
configobj
PyYAML
flake8
commands = flake8 omniconf
[testenv:sphinx]
deps = -r{toxinidir}/rtd_requirements.txt
changedir = docs
commands = sphinx-build -b html -d _build/doctrees . _build/html