1 Star 0 Fork 1

zdzhaoyong/PICMake

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
zdzhaoyong 提交于 2018-06-26 22:36 . updated travis
language: cpp
sudo: true
dist: trusty
matrix:
include:
- os: linux
env: CMAKE_OPTIONS="-DOPENGL_ENABLED=OFF -DCeres_DIR=${TRAVIS_BUILD_DIR}/deps/ceres-solver/install/lib/cmake/Ceres -DQt5Core_DIR=/opt/qt54/lib/cmake/Qt5Core -DQt5OpenGL_DIR=/opt/qt54/lib/cmake/Qt5OpenGL" QT_QPA_PLATFORM=offscreen
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- build-essential
- os: osx
env: CMAKE_OPTIONS="-DIPO_ENABLED=OFF -DQt5_DIR=/usr/local/opt/qt5/lib/cmake/Qt5 -DQt5Core_DIR=/usr/local/opt/qt5/lib/cmake/Qt5Core -DQt5OpenGL_DIR=/usr/local/opt/qt5/lib/cmake/Qt5OpenGL"
cache:
directories:
- ${TRAVIS_BUILD_DIR}
before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew tap homebrew/science
brew install \
cmake || true
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
cd ${TRAVIS_BUILD_DIR}
fi
script:
- cmake --version
- git checkout ${TRAVIS_BRANCH}
- git pull
- mkdir -p build
- cd build
- pwd
- cmake ..
- make -j2
- sudo make install
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zdzhaoyong/PICMake.git
[email protected]:zdzhaoyong/PICMake.git
zdzhaoyong
PICMake
PICMake
master

搜索帮助