gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 14:40:42 24 4
gpt4 key购买 nike

我正在尝试在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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com