blob: 0a3e871222c2e2de7430a7e57e480b72cc653663 (
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
|
# A tox configuration file to test across multiple Python versions.
#
# http://pypi.python.org/pypi/tox
#
[tox]
envlist = py32,py31,py27,py26,py25,py24
[testenv]
deps =
# Distribute works with Python 2.3.5 and above:
# http://packages.python.org/distribute/setuptools.html#building-and-distributing-packages-with-distribute
distribute
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
|