summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e784f01f038f760c67dfb1784888465bf4a5fc04 (plain)
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
[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:py31]
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 []