summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 13d4cce728cfc41319925cde9825c06b04449867 (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
[tox]
envlist=py31,py27,py26,py25,py24,jython,docs

[testenv]
deps= coverage >=3.3
commands=
  python selftest.py []

[testenv:docs]
basepython=python
changedir=doc
deps=sphinx
commands=
    ##make clean
    ##make doctest 
    make 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]
basepython=python3.1
distribute=True
commands=
  python setup.py build_tests
  python3 selftest.py []