1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 14:44:23 +00:00
scrapy/tox.ini

90 lines
1.9 KiB
INI
Raw Normal View History

# 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]
2014-07-30 16:53:28 -03:00
envlist = py27
[testenv]
deps =
-rrequirements.txt
# Extras
botocore
Pillow != 3.0.0
2014-03-06 02:13:15 -02:00
leveldb
-rtests/requirements.txt
passenv =
2016-02-15 17:50:47 +03:00
S3_TEST_FILE_URI
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
commands =
py.test --cov=scrapy --cov-report= {posargs:scrapy tests}
[testenv:precise]
basepython = python2.7
deps =
pyOpenSSL==0.13
lxml==2.3.2
2014-07-30 17:30:40 -03:00
Twisted==11.1.0
boto==2.2.2
Pillow<2.0
cssselect==0.9.1
2014-08-09 00:44:48 -03:00
zope.interface==3.6.1
-rtests/requirements.txt
2016-09-01 10:19:49 +02:00
[testenv:jessie]
# https://packages.debian.org/en/jessie/python/
# https://packages.debian.org/en/jessie/zope/
basepython = python2.7
deps =
pyOpenSSL==0.14
lxml==3.4.0
Twisted==14.0.2
boto==2.34.0
Pillow==2.6.1
cssselect==0.9.1
zope.interface==4.1.1
-rtests/requirements.txt
[testenv:trunk]
basepython = python2.7
commands =
pip install -U https://github.com/scrapy/w3lib/archive/master.zip#egg=w3lib
pip install -U https://github.com/scrapy/queuelib/archive/master.zip#egg=queuelib
py.test --cov=scrapy --cov-report= {posargs:scrapy tests}
2013-11-19 20:15:15 -02:00
[testenv:py33]
basepython = python3.3
deps =
2015-07-29 16:32:11 +00:00
-rrequirements-py3.txt
# Extras
2014-08-01 23:12:52 +06:00
Pillow
2015-07-29 16:32:11 +00:00
-rtests/requirements-py3.txt
2013-11-19 20:15:15 -02:00
2014-07-24 15:38:04 -03:00
[testenv:py34]
basepython = python3.4
deps = {[testenv:py33]deps}
[testenv:py35]
basepython = python3.5
deps = {[testenv:py33]deps}
[docs]
2014-04-09 18:46:01 -03:00
changedir = docs
deps =
Sphinx
sphinx_rtd_theme
[testenv:docs]
changedir = {[docs]changedir}
deps = {[docs]deps}
2014-04-09 18:46:01 -03:00
commands =
sphinx-build -W -b html . {envtmpdir}/html
[testenv:docs-links]
changedir = {[docs]changedir}
deps = {[docs]deps}
commands =
sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck