forked from nose-devs/nose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (44 loc) · 1 KB
/
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
[tox]
envlist=py32,py31,py27,py26,py25,py24,jython,docs
[testenv]
deps= coverage >=3.3
commands=
python selftest.py []
# tox -e oldcov to spot check 2.x version of coverage. However, there is a
# doctest that will fail (currently)
[testenv:oldcov]
basepython=python2.6
deps= coverage < 3
[testenv:docs]
basepython=python
changedir=doc
deps=sphinx>=1.0
commands=
##make clean
##make doctest
make man readme html
##make linkcheck
[testenv:jython]
basepython=jython
# cannot add coverage as a dep because
# it compiles C extensions
deps=
commands=
jython selftest.py []
[testenv:pypy]
# cannot add coverage as a dep because
# it compiles C extensions
deps=
[testenv:py31]
# TODO(Kumar) put coverage back here once pip gets this bug fixed:
# https://github.com/pypa/pip/issues/326
deps=
commands=
rm -fr {toxinidir}/build
{envpython} setup.py build_tests
{envpython} selftest.py []
[testenv:py32]
commands=
rm -fr {toxinidir}/build
{envpython} setup.py build_tests
{envpython} selftest.py []