Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
dd5cc237
Unverified
Commit
dd5cc237
authored
Apr 15, 2018
by
Zhangyi Chen
Committed by
GitHub
Apr 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Find core files and print stack if build failed
parent
b9dc646f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
.travis.yml
.travis.yml
+8
-0
No files found.
.travis.yml
View file @
dd5cc237
...
...
@@ -11,6 +11,13 @@ env:
-
PURPOSE=unittest
-
PURPOSE=compile-with-bazel
before_script
:
-
ulimit -c unlimited -S
# enable core dumps
after_failure
:
-
COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1)
# find core file
-
if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" example -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
before_install
:
-
wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.8.1/bazel_0.8.1-linux-x86_64.deb
-
sudo dpkg -i bazel_0.8.1-linux-x86_64.deb
...
...
@@ -18,6 +25,7 @@ before_install:
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
# install gdb
script
:
-
sh build_in_travis_ci.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment