From 44519225b203a30ea6b61920788a4af667dd10ff Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Sun, 14 Jan 2018 15:08:08 +0000 Subject: Travis: Remove gdb (#4140) --- CIbuild.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'CIbuild.sh') diff --git a/CIbuild.sh b/CIbuild.sh index b1d4d1b3c..024457675 100755 --- a/CIbuild.sh +++ b/CIbuild.sh @@ -12,22 +12,12 @@ echo "Building..." cmake --build . -- -j 2; ctest -j 2 -V; -# Create .gdbinit in home directory. Switches off the confirmation on quit -echo -e "define hook-quit\n\tset confirm off\nend\n" > ~/.gdbinit - echo "Testing..." -# OSX builds don't have gdb -if [ "$TRAVIS_OS_NAME" = osx ]; then - GDB_COMMAND="" -else - GDB_COMMAND="gdb -return-child-result -ex run -ex \"bt\" -ex \"info threads\" -ex \"thread apply all bt\" -ex \"quit\" --args" -fi - cd Server/; touch apiCheckFailed.flag if [ "$TRAVIS_CUBERITE_BUILD_TYPE" != "COVERAGE" ]; then - ${GDB_COMMAND} ${CUBERITE_PATH} <<- EOF + ${CUBERITE_PATH} <<- EOF load APIDump apicheck restart -- cgit v1.2.3