diff --git a/.travis.yml b/.travis.yml index 413220c21..c3e8e586d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ addons: - libssl-dev - build-essential - libmbedtls-dev + - gdb sonarcloud: organization: "haivision" token: @@ -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