目前,除我的.travis.yml文件外,其他内容如下:
before_install:
- wget http://apt.biicode.com/install.sh && chmod +x install.sh && ./install.sh
- bii setup:cpp产生以下输出:
$ bii setup:cpp
WARN: This setup is EXPERIMENTAL.
Please refer to the docs for manual installation if something fails
cmake version 2.8.7
Invalid cmake version 2.8.7 < 3.0 in your path
WARN: You are running in non-interactive mode.
A CMake local copy will be installed automatically.
Please run with '-i' or '--interactive' for more options
Downloading and installing CMake 3.0.2
Download cmake-3.0.2-Linux-64.tar.gz
from https://s3.amazonaws.com/biibinaries/thirdparty/cmake-3.0.2-Linux-64.tar.gz
download to /tmp/tmpuO7mZ_/cmake-3.0.2-Linux-64.tar.gz
Percent: [########################################] 100.0% of 10.1Mb Done...
INFO: Extracting cmake
cmake version 3.0.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Valid cmake version 3.0.2 > 3.0 in "/home/travis/.biicode/cmake-3.0.2-Linux-64/bin"
CMake 3.0.2 installed ok
gcc 4.6.3 already installed
g++ 4.6.3 already installed我已经检查了bii setup:cpp命令的选项,但是似乎找不到任何关于这个的选项,我是遗漏了什么,还是必须将它们安装到bii外部呢?
发布于 2015-04-22 23:07:30
诺普。bii setup:cpp命令非常基本,只适用于C++新手和基于gcc的主流编译器的快速基本设置。您可以看到源代码:installer.py#L9
如果您想在travis-ci中安装这些编译器,有时会非常棘手。我建议在https://github.com/biicode/misc中使用这些脚本。您可能可以直接从travis构建中获取和执行它们。
https://stackoverflow.com/questions/29808610
复制相似问题