diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-01-14 16:08:08 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2018-01-14 16:08:08 +0100 |
commit | 44519225b203a30ea6b61920788a4af667dd10ff (patch) | |
tree | f41c3994d2ee59a3d88cd7c36215e9597fe18d2d | |
parent | Rewrite cClientHandle::HandleRightClick (#4089) (diff) | |
download | cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar.gz cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar.bz2 cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar.lz cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar.xz cuberite-44519225b203a30ea6b61920788a4af667dd10ff.tar.zst cuberite-44519225b203a30ea6b61920788a4af667dd10ff.zip |
-rw-r--r-- | .travis.yml | 10 | ||||
-rwxr-xr-x | CIbuild.sh | 12 |
2 files changed, 1 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml index 481dcf078..3e75e0f82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,27 +18,18 @@ matrix: - TRAVIS_CUBERITE_BUILD_TYPE=DEBUG CUBERITE_PATH=./Cuberite_debug # Default clang - compiler: clang - addons: &gdb - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gdb env: *Release - compiler: clang - addons: *gdb env: *Debug # clang 3.5 - compiler: clang addons: &clang35 apt: sources: - - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.5 packages: - clang++-3.5 - clang-3.5 - - gdb before_install: - CC=clang-3.5;CXX=clang++-3.5 env: *Release @@ -56,7 +47,6 @@ matrix: packages: - g++-4.8 - gcc-4.8 - - gdb before_install: - CC=gcc-4.8;CXX=g++-4.8 env: *Release 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 |