7 Star 8 Fork 6

Gitee 极速下载 / BRAFT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/brpc/braft
克隆/下载
.travis.yml 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Vagrant Default User 提交于 2019-05-23 04:08 . chore: update bazel
language: cpp
sudo: required
compiler:
- clang
- gcc
env:
- PURPOSE=compile
- PURPOSE=unittest
- PURPOSE=compile-with-bazel
before_install:
- wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.25.2/bazel_0.25.2-linux-x86_64.deb
- sudo dpkg -i bazel_0.25.2-linux-x86_64.deb
install:
- sudo apt-get install -qq realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgoogle-perftools-dev
- sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo env "PATH=$PATH" cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
- sudo apt-get install -y gdb
- if [[ "$PURPOSE" != "compile-with-bazel" ]]; then git clone https://github.com/brpc/brpc.git && mkdir -p brpc/bld && cd brpc/bld && cmake .. && make -j4 && sudo make install && cd - ; fi
before_script:
- ulimit -c unlimited -S
script:
- if [[ "$PURPOSE" == "compile-with-bazel" ]]; then bazel build -c opt --copt -DHAVE_ZLIB=1 //... ; fi
- sh build_in_travis_ci.sh
after_failure:
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1)
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" example -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
C/C++
1
https://gitee.com/mirrors/BRAFT.git
git@gitee.com:mirrors/BRAFT.git
mirrors
BRAFT
BRAFT
master

搜索帮助