1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/baidu-braft

Клонировать/Скачать
.travis.yml 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Vagrant Default User Отправлено 23.05.2019 07:08 9dd7061
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

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/baidu-braft.git
git@api.gitlife.ru:oschina-mirror/baidu-braft.git
oschina-mirror
baidu-braft
baidu-braft
master