如何在Travis CI上安装某些东西而不会超时? [英] How can I install something on Travis CI without a timeout?
本文介绍了如何在Travis CI上安装某些东西而不会超时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在travis-ci.org上测试一个软件包,但是使用pip install scipy来超时:
I am trying to test a package build on travis-ci.org, but am coming up against a timeout with 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
(从最近的构建日志)。
如何构建scipy> = 0.11在Travis没有超时?
How can I build scipy >= 0.11 on Travis without a timeout?
推荐答案
解决方案很简单。只需在安装命令前加上 travis_wait 。有关详情,请访问 https://docs.travis-ci.com/user/common-build-problems 。
The solution is straightforward. Just prefix the installation command with travis_wait. More details are available at https://docs.travis-ci.com/user/common-build-problems.
这篇关于如何在Travis CI上安装某些东西而不会超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文