1 Star 0 Fork 0

ShiYunfei/g2o

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
Rainer Kümmerle 提交于 2021-01-04 14:47 . Rainer/codecov (#475)
language: cpp
notifications:
email:
recipients:
- rainer.kuemmerle@gmail.com
on_success: change # default: change
on_failure: always # default: always
env:
global:
- DO_COVERAGE=OFF
# where do we want to build
matrix:
include:
- os: linux
arch: amd64
compiler: gcc
dist: focal
env: DO_COVERAGE=ON
- os: linux
arch: amd64
compiler: clang
dist: focal
- os: osx
arch: amd64
osx_image: xcode12.2
before_install:
- if [ "$TRAVIS_BRANCH" = "master" ] && [ "$DO_COVERAGE" = "ON" ]; then
echo "Activating code coverage build";
export DO_COVERAGE_BUILD=ON;
else
export DO_COVERAGE_BUILD=OFF;
fi
- env | sort
# install:
# - script/install-deps-${TRAVIS_OS_NAME}.sh
before_script:
- mkdir build
- cd build
- cmake --version
- cmake -DBUILD_UNITTESTS=ON -DBUILD_CODE_COVERAGE=$DO_COVERAGE_BUILD -DCMAKE_BUILD_TYPE=Debug ..
- cat g2o/config.h
script:
- make -j $(nproc)
- ctest --extra-verbose --output-on-failure
after_success:
- if [ "$DO_COVERAGE_BUILD" = "ON" ]; then
echo "Uploading to codecov";
bash $TRAVIS_BUILD_DIR/build/codecov.sh;
fi
# installing dependencies
addons:
apt: # linux
packages:
- libeigen3-dev
- qtdeclarative5-dev
- qt5-qmake
- libqglviewer-dev-qt5
- libsuitesparse-dev
- lcov
homebrew: # mac os
packages:
- cmake
- eigen
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/afeiii/g2o.git
git@gitee.com:afeiii/g2o.git
afeiii
g2o
g2o
master

搜索帮助