summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 544f4dc84c6df3e7dd21edbfd0a57a3d4888da98 (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
# A tox configuration file to test across multiple Python versions.
#
#   http://pypi.python.org/pypi/tox
#
[tox]
envlist = py24,py25,py26,py27,py31,py32

[testenv]
commands =
    python setup.py --quiet test

# We use nosetests for older versions of Python to find doctests because
# the load_tests protocol (which we use for finding doctests when using
# Distribute's `test`) was not introduced until Python 2.7.

[testenv:py26]
deps =
    nose
commands =
    python setup.py --quiet nosetests

[testenv:py25]
deps =
    nose
commands =
    python setup.py --quiet nosetests

[testenv:py24]
deps =
    nose
commands =
    python setup.py --quiet nosetests