Skip to content

Commit

Permalink
[build] Travis: display stack trace by gdb on crash (#2565).
Browse files Browse the repository at this point in the history
  • Loading branch information
ethouris authored Dec 5, 2022
1 parent 3d517cf commit ef17a24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ addons:
- libssl-dev
- build-essential
- libmbedtls-dev
- gdb
sonarcloud:
organization: "haivision"
token:
Expand Down Expand Up @@ -93,7 +94,11 @@ script:
make -j$(nproc);
fi
- if [ "$TRAVIS_COMPILER" != "x86_64-w64-mingw32-g++" ]; then
ulimit -c unlimited;
./test-srt --gtest_filter="-$TESTS_IPv6";
SUCCESS=$?;
if [ -f core ]; then gdb -batch ./test-srt -c core -ex bt -ex "info thread" -ex quit; else echo "NO CORE - NO CRY!"; fi;
test $SUCCESS == 0;
fi
after_success:
- if (( "$RUN_CODECOV" )); then
Expand Down

0 comments on commit ef17a24

Please sign in to comment.