scipy - 如何在没有超时的情况下在Travis CI上安装某些软件?

标签 scipy continuous-integration travis-ci

我正在尝试在travis-ci.org上测试软件包的构建,但是遇到了pip install scipy超时的问题:

Installing collected packages: scipy
  Running setup.py install for scipy
    Running command /home/travis/virtualenv/python2.6.9/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-Fn2gmJ/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hWDx9L-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python2.6.9/include/site/python2.6


No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.

The build has been terminated


(摘自最近的build log)。

如何在没有超时的情况下在Travis上构建scipy> = 0.11?

最佳答案

解决方案很简单。只需在安装命令前面加上travis_wait。有关更多详细信息,请参见https://docs.travis-ci.com/user/common-build-problems

关于scipy - 如何在没有超时的情况下在Travis CI上安装某些软件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28746046/

相关文章:

python - 使用节点行和列位置的字典将 Pandas 边列表转换为稀疏转换矩阵?

python - 尽管有 mask 区域,但从一个平面映射到另一个平面

python - 使用 pytest 时 travis ci 没有收集我的测试

python - 在 Python 中获取 numpy/scipy 中的日志比率

python - 从 Python 数组中删除完全隔离的单元格?

java - Hudson JDepend 插件不起作用

jenkins - Jenkins 上的Gradle怪异错误

continuous-integration - 在多个节点上运行 Hudson 作业

github - 如何使travis-ci对某些分支执行?

timeout - 如何避免travis_wait之后显示日志?