scrapy/tox.ini

24 lines
604 B
INI

# 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]
envlist = py26, py27, lucid, precise
[testenv]
deps =
-r{toxinidir}/.travis/requirements-latest.txt
commands =
trial {posargs:--reporter=text scrapy}
[testenv:lucid]
basepython = python2.6
deps =
-r{toxinidir}/.travis/requirements-lucid.txt
[testenv:precise]
basepython = python2.7
deps =
-r{toxinidir}/.travis/requirements-precise.txt