From 9748b6f706b55460d72d1f5670e06c656bc405ef Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 2 May 2017 23:40:50 +0300 Subject: [PATCH] Travis CI: Workaround 'value of GC_API unknown' cppcheck warnings (fix commit b89b137) Also, turn on silent mode for cppcheck. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce1e1984..f9571113 100644 --- a/.travis.yml +++ b/.travis.yml @@ -334,8 +334,8 @@ script: extra/msvc_dbg.c tests/*.c tests/*.cc tools/*.c; fi - if [[ "$CPPCHECK_ENABLE" != "" ]]; then - ~/cppcheck/cppcheck -f --error-exitcode=2 -U long -D CPPCHECK - -I include -I libatomic_ops/src $CPPCHECK_ENABLE + ~/cppcheck/cppcheck -q -f --error-exitcode=2 -U GC_API -U long + -D CPPCHECK -I include -I libatomic_ops/src $CPPCHECK_ENABLE *.cc cord/*.c cord/tests/*.c extra/*.c extra/*.cpp tests/*.c tests/*.cc tools/*.c; fi -- 2.40.0