在Travis CI中,是否可以从docker容器内运行构建过程?
在GitLab CI中,这是默认值.我们可以简单地定义图像,.gitlab-ci.yml
然后所有build/test/deploy都将在该容器内运行.然而,Travis似乎对docker的使用有着截然不同的看法.如何在Travis中实现类似的行为?
我正在尝试在我的lubuntu 15.04上构建整个Kurento(与ubuntu 15.04相同,生动,具有不同的UI).我开始克隆所有回购:
mkdir kurento
cd kurento
git clone https://github.com/Kurento/kms-jsonrpc.git
git clone https://github.com/Kurento/kurento-module-creator.git
git clone https://github.com/Kurento/kms-filters.git
git clone https://github.com/Kurento/kms-core.git
git clone https://github.com/Kurento/kms-elements.git
git clone https://github.com/Kurento/adm-scripts.git
git clone https://github.com/Kurento/kms-cmake-utils.git
git clone https://github.com/Kurento/kms-crowddetector.git
git clone https://github.com/Kurento/kms-pointerdetector.git
git clone https://github.com/Kurento/kms-platedetector.git
git clone https://github.com/Kurento/kurento-media-server.git
git clone https://github.com/Kurento/kms-plugin-sample.git
git clone https://github.com/Kurento/kms-opencv-plugin-sample.git
Run Code Online (Sandbox Code Playgroud)
然后安装kms-cmake-utils:
cd kms-cmake-utils
mkdir build
cd build
cmake ..
make install
Run Code Online (Sandbox Code Playgroud)
好的,它在cmake模块目录中安装了一堆文件.然后我尝试安装kms-core:
cd kms-core
mkdir build
cd build
cmake ..
Run Code Online (Sandbox Code Playgroud)
但是cmake因以下错误而停止
-- checking for module 'KurentoModuleCreator'
-- package 'KurentoModuleCreator' not found
CMake Error at …
Run Code Online (Sandbox Code Playgroud)