tox.ini 683 字节
Newer Older
1 2 3 4 5 6
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
7
envlist = py26, py27, lucid, precise
8 9

[testenv]
10 11
deps =
    -r{toxinidir}/.travis/requirements-latest.txt
12
commands =
13
    {toxinidir}/bin/runtests.sh []
14 15 16 17 18 19 20 21 22 23

[testenv:lucid]
basepython = python2.6
deps =
    -r{toxinidir}/.travis/requirements-lucid.txt

[testenv:precise]
basepython = python2.7
deps =
    -r{toxinidir}/.travis/requirements-precise.txt
24 25 26

[testenv:windows]
commands =
27
    {toxinidir}/bin/runtests.bat []
28
sitepackages = False