1 Star 0 Fork 9

KNLc/SummerCampHomework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
zdzhaoyong 提交于 2018-08-15 22:01 . updated Evaluate.sh
language: cpp
sudo: true
dist: trusty
matrix:
include:
- os: linux
env: CMAKE_OPTIONS="-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=bin -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
- libeigen3-dev
- python-tk
- python-matplotlib
- libglew-dev
- libopencv-dev
- freeglut3-dev
cache:
directories:
- ${TRAVIS_BUILD_DIR}/deps
- ${TRAVIS_BUILD_DIR}/build
before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew tap homebrew/science
brew install \
cmake \
eigen \
glog \
gflags \
suite-sparse \
ceres-solver \
qt5 \
glew || 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}
echo https://${TRAVIS_USERNAME}:${TRAVIS_PASSWORD}@github.com > ~/.git-credentials
git config --global user.name "${TRAVIS_USERNAME}"
git config --global user.email "${TRAVIS_EMAIL}"
git config --global credential.helper store
fi
script:
- cmake --version
- cd build
- rm -rf *
- |
if [[ -z "$(ls -A GSLAM)" ]]; then
git clone ${TRAVIS_PULL}
fi
- cd SummerCamp2018Homework
- git checkout ${TRAVIS_BRANCH}
- mkdir -p build
- cd build
- pwd
- bash ../scripts/Evaluate.sh -commit -e ..
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/KNLc/SummerCampHomework.git
git@gitee.com:KNLc/SummerCampHomework.git
KNLc
SummerCampHomework
SummerCampHomework
master

搜索帮助