Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
looyolo
scrapy
提交
fabb3510
S
scrapy
项目概览
looyolo
/
scrapy
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
scrapy
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fabb3510
编写于
11月 07, 2013
作者:
D
Daniel Graña
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
map travis-ci matrix to tox environments
上级
bc7fa611
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
36 addition
and
48 deletion
+36
-48
.travis.yml
.travis.yml
+12
-17
.travis/requirements-latest.txt
.travis/requirements-latest.txt
+0
-9
.travis/requirements-precise.txt
.travis/requirements-precise.txt
+0
-10
.travis/requirements-trunk.txt
.travis/requirements-trunk.txt
+0
-3
requirements.txt
requirements.txt
+2
-2
tox.ini
tox.ini
+22
-7
未找到文件。
.travis.yml
浏览文件 @
fabb3510
language
:
python
language
:
python
python
:
2.7
env
:
env
:
TRAVISBUG="#1027"
-
TOX_ENV=py27
-
TOX_ENV=precise
-
TOX_ENV=trunk
-
TOX_ENV=pypy
matrix
:
matrix
:
exclude
:
-
env
:
TRAVISBUG="#1027"
include
:
-
python
:
"
2.7"
env
:
BUILDENV=precise
-
python
:
"
2.7"
env
:
BUILDENV=latest
-
python
:
"
2.7"
env
:
BUILDENV=trunk
-
python
:
"
pypy"
env
:
BUILDENV=latest
allow_failures
:
allow_failures
:
-
python
:
"
pypy"
-
env
:
TOX_ENV=pypy
env
:
BUILDENV=latest
install
:
install
:
-
pip install -
-use-mirrors -r .travis/requirements-$BUILDENV.txt
-
pip install -
M tox
-
pip install --use-mirrors .
script
:
script
:
-
trial scrapy
-
tox -e $TOX_ENV
notifications
:
notifications
:
irc
:
irc
:
channels
:
channels
:
...
...
.travis/requirements-latest.txt
已删除
100644 → 0
浏览文件 @
bc7fa611
pyOpenSSL
lxml
twisted
boto
Pillow
django
# testing requirements
mock
.travis/requirements-precise.txt
已删除
100644 → 0
浏览文件 @
bc7fa611
# travis workers uses openssl 1.0 that fails for pyOpenSSL < 0.13
pyOpenSSL==0.13
lxml==2.3.2
twisted==11.1.0
boto==2.2.2
Pillow<2.0
django==1.3.1
# testing requirements
mock==1.0.1
.travis/requirements-trunk.txt
已删除
100644 → 0
浏览文件 @
bc7fa611
-r requirements-latest.txt
git+https://github.com/scrapy/w3lib#egg=w3lib
git+https://github.com/scrapy/queuelib#egg=queuelib
requirements.txt
浏览文件 @
fabb3510
Twisted
>=10.0.0
Twisted
>=10.0.0
w3lib
>=1.2
queuelib
lxml
lxml
pyOpenSSL
pyOpenSSL
cssselect
>=0.9
cssselect
>=0.9
w3lib
>=1.2
queuelib
tox.ini
浏览文件 @
fabb3510
...
@@ -4,25 +4,40 @@
...
@@ -4,25 +4,40 @@
# and then run "tox" from this directory.
# and then run "tox" from this directory.
[tox]
[tox]
envlist
=
py27, precise, trunk
envlist
=
py27, p
ypy, p
recise, trunk
[testenv]
[testenv]
deps
=
deps
=
-r{toxinidir}/.travis/requirements-latest.txt
-rrequirements.txt
# Extras
boto
Pillow
django
# Only required to run tests
mock
commands
=
commands
=
{toxinidir}/bin/runtests.sh
[]
trial
scrapy
[testenv:precise]
[testenv:precise]
basepython
=
python2.7
basepython
=
python2.7
deps
=
deps
=
-r{toxinidir}/.travis/requirements-precise.txt
pyOpenSSL
=
=0.13
lxml
=
=2.3.2
twisted
=
=11.1.0
boto
=
=2.2.2
Pillow<2.0
django
=
=1.3.1
cssselect
=
=0.9.1
mock
=
=1.0.1
[testenv:trunk]
[testenv:trunk]
basepython
=
python2.7
basepython
=
python2.7
deps
=
commands
=
-r{toxinidir}/.travis/requirements-trunk.txt
pip
install
https://github.com/scrapy/w3lib/archive/master.zip
#egg=w3lib
pip
install
https://github.com/scrapy/queuelib/archive/master.zip
#egg=queuelib
trial
scrapy
[testenv:windows]
[testenv:windows]
commands
=
commands
=
{toxinidir}/
bin/runtests.bat
[]
bin/runtests.bat
[]
sitepackages
=
False
sitepackages
=
False
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录