代码拉取完成,页面将自动刷新
language: cpp
compiler:
- clang
- gcc
cache: ccache
os:
- linux
- osx
services:
- redis-server
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
before_install:
- source scripts/prepare.sh
install:
- source scripts/install-osx-dependencies.sh
- source scripts/install-cmake.sh
before_script:
- source scripts/start-redis.sh
# create a build folder for the out-of-source build
- mkdir build
# switch to build directory
- cd build
# run cmake; here we assume that the project's
# top-level CMakeLists.txt is located at '..'
- ls ${CMAKE_INSTALL_DIR}
- ls ${CMAKE_INSTALL_DIR}/bin
- env
- which cmake
- cmake --version
- cmake .. -DBUILD_TESTS=true -DBUILD_EXAMPLES=true
script:
# once CMake has done its job we just build using make as usual
- make
# if the project uses ctest we can run the tests like this
- GTEST_COLOR=1 ctest -VV
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。