目前,以下内容除了我的.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外部安装它们?
答案 0 :(得分:2)
NOP。命令bii setup:cpp
非常基础,仅适用于C ++新手以及基于主流gcc的编译器的快速基本设置。您可以看到源代码:https://github.com/biicode/client/blob/develop/setups/installers/gnu_compiler_installer.py#L9
如果你想在travis-ci中安装那些编译器,它有时候会非常棘手。我建议使用https://github.com/biicode/misc中的脚本。你可以直接忘记它们并从你的travis构建中执行。