-
Notifications
You must be signed in to change notification settings - Fork 65
/
tox.ini
45 lines (44 loc) · 826 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
[tox]
minversion = 1.0
envlist = py24, py25, py26, py27, py31, py32, rst, sphinx
[testenv]
deps =
nose
coverage
mock
commands =
nosetests {posargs:-vv} tests
# When tox 1.4 is released use substitution to remove all the duplication.
[testenv:py24]
deps =
nose
coverage
mock
unittest2
[testenv:py25]
deps =
nose
coverage
mock
unittest2
[testenv:py26]
deps =
nose
coverage
mock
unittest2
[testenv:rst]
deps =
docutils
commands =
mkdir -p {envtmpdir}
rst2html.py --strict NEWS.rst {envtmpdir}/NEWS.html
rst2html.py --strict README.rst {envtmpdir}/README.html
[testenv:sphinx]
deps =
sphinx
cloud_sptheme
sphinxcontrib-cheeseshop
commands =
# Test HTML output
sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html