From e5b8491b58c4ae0de8524a7d46b7c6bd92353571 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Thu, 8 Nov 2018 21:09:42 +0400 Subject: [PATCH] Make Clang analyzer to take assertions in account, even for release builds --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d8970b67b..b4301680fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,7 +53,7 @@ matrix: sudo: required env: - MATRIX_EVAL="CC=clang-7 && CXX=clang++-7" - - ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7" + - ANALYZE="scan-build-7 --force-analyze-debug-code --use-cc clang-7 --use-c++ clang++-7" - BUILD_OPENMW_CS="OFF" compiler: clang - name: OpenMW (openmw-cs) on Ubuntu Trusty Clang-7 with Static Analysis @@ -62,7 +62,7 @@ matrix: sudo: required env: - MATRIX_EVAL="CC=clang-7 && CXX=clang++-7" - - ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7" + - ANALYZE="scan-build-7 --force-analyze-debug-code --use-cc clang-7 --use-c++ clang++-7" - BUILD_OPENMW="OFF" compiler: clang # allow_failures: