Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
tornadoweb
Tornado
提交
6c7aa1ca
Tornado
项目概览
镜像
/
tornadoweb
/
Tornado
12 个月 前同步成功
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Tornado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6c7aa1ca
编写于
3月 04, 2018
作者:
B
Ben Darnell
提交者:
GitHub
3月 04, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2298 from bdarnell/travis-nightly
travis.yml: Fix build on nightly python
上级
a84b6857
475fd6ff
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
7 deletion
+8
-7
.travis.yml
.travis.yml
+8
-7
未找到文件。
.travis.yml
浏览文件 @
6c7aa1ca
...
...
@@ -6,9 +6,6 @@ sudo: false
matrix
:
fast_finish
:
true
# Nightly python is failing as of 2018-01-26
allow_failures
:
-
python
:
nightly
language
:
python
# For a list of available versions, run
...
...
@@ -23,6 +20,9 @@ python:
-
pypy3.5-5.8.0
install
:
# On nightly, upgrade setuptools first to work around
# https://github.com/pypa/setuptools/issues/1257
-
if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then travis_retry pip install -U setuptools; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install mock monotonic; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then travis_retry pip install mock; fi
# TODO(bdarnell): pycares tests are currently disabled on travis due to ipv6 issues.
...
...
@@ -62,8 +62,9 @@ script:
# We use "python -m coverage" instead of the "bin/coverage" script
# so we can pass additional arguments to python.
# coverage needs a function that was removed in python 3.6 so we can't
# run it with nightly cpython.
-
if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then export TARGET="-m coverage run $TARGET"; fi
# run it with nightly cpython. Coverage is very slow on pypy.
-
if [[ $TRAVIS_PYTHON_VERSION != nightly && $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then export RUN_COVERAGE=1; fi
-
if [[ "$RUN_COVERAGE" == 1 ]]; then export TARGET="-m coverage run $TARGET"; fi
-
python $TARGET
-
if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then python $TARGET --ioloop=tornado.platform.select.SelectIOLoop; fi
-
python -O $TARGET
...
...
@@ -77,7 +78,7 @@ script:
#- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then python $TARGET --resolver=tornado.platform.caresresolver.CaresResolver; fi
-
if [[ $TRAVIS_PYTHON_VERSION != 'pypy3' ]]; then ../nodeps/bin/python -m tornado.test.runtests; fi
# make coverage reports for Codecov to find
-
if [[
$TRAVIS_PYTHON_VERSION != nightly
]]; then coverage xml; fi
-
if [[
"$RUN_COVERAGE" == 1
]]; then coverage xml; fi
-
export TORNADO_EXTENSION=0
-
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then cd ../docs && mkdir sphinx-out && sphinx-build -E -n -W -b html . sphinx-out; fi
-
if [[ $TRAVIS_PYTHON_VERSION == '2.7' || $TRAVIS_PYTHON_VERSION == 3.6 ]]; then cd ../docs && mkdir sphinx-doctest-out && sphinx-build -E -n -b doctest . sphinx-out; fi
...
...
@@ -85,4 +86,4 @@ script:
after_success
:
# call codecov from project root
-
if [[
$TRAVIS_PYTHON_VERSION != nightly
]]; then cd ../ && codecov; fi
-
if [[
"$RUN_COVERAGE" == 1
]]; then cd ../ && codecov; fi
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录