From 6db7b13266cce8e4b9f9693e8d8b6ecbe5366660 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sun, 20 Sep 2020 18:10:52 +0300 Subject: [PATCH] mdbx-ci: add `COVERITY_UNSUPPORTED_COMPILER_INVOCATION` and `-std=gnu++17` for Coverity. Change-Id: Id4aa557458bf847ba19ceb1bcdfeef7c0fc6f8e8 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e736d013..3a1faee1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,10 +66,11 @@ script: | if [ ! -s ./coverity_scan.sh ]; then make --keep-going all && MALLOC_CHECK_=7 MALLOC_PERTURB_=42 make --keep-going check else + COVERITY_UNSUPPORTED_COMPILER_INVOCATION=1 \ COVERITY_SCAN_PROJECT_NAME="ReOpen/libmdbx" \ COVERITY_SCAN_NOTIFICATION_EMAIL="leo@yuriev.ru" \ COVERITY_SCAN_BUILD_COMMAND_PREPEND="" \ - COVERITY_SCAN_BUILD_COMMAND="make MDBX_OPTIONS=-DMDBX_DEBUG=2 build-test" \ + COVERITY_SCAN_BUILD_COMMAND="make MDBX_OPTIONS=-DMDBX_DEBUG=2 CXXSTD=-std=gnu++17 build-test" \ COVERITY_SCAN_BRANCH_PATTERN="$TRAVIS_BRANCH" \ bash ./coverity_scan.sh || cat cov-int/scm_log.txt fi