From f0845197d868735dc97aac72738b69c639c634b3 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 10 Jan 2018 23:21:30 +0100 Subject: [PATCH] ci/travis: require "sudo" for ASAN_UBSAN build Workaround for this fun new issue: ==27404==LeakSanitizer has encountered a fatal error. ==27404==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==27404==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) Failed: E /build|logs :: Runtime errors detected. https://github.com/travis-ci/travis-ci/issues/9033 https://github.com/google/sanitizers/issues/764 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09ef8bba46..9a62a8a942 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,13 +57,13 @@ jobs: env: > CLANG_SANITIZER=ASAN_UBSAN CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" + sudo: true - os: linux compiler: gcc env: FUNCTIONALTEST=functionaltest-lua - os: linux - # Travis creates a cache per compiler. - # Set a different value here to store 32-bit - # dependencies in a separate cache. + # Travis creates a cache per compiler. Set a different value here to + # store 32-bit dependencies in a separate cache. compiler: gcc -m32 env: BUILD_32BIT=ON - os: osx