From: Ivan Maidanski Date: Mon, 27 Mar 2017 21:38:01 +0000 (+0300) Subject: Travis CI: Test builds with -D LINT2 without -D CPPCHECK X-Git-Tag: v8.0.0~810 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=518eb14896854a980441ae9dfab204d08b03b54b;p=gc Travis CI: Test builds with -D LINT2 without -D CPPCHECK --- diff --git a/.travis.yml b/.travis.yml index a04273a3..d2373f48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ matrix: - CONF_CPP=--enable-cplusplus - os: osx env: - - CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS" + - CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS -D LINT2" - CONF_ASSERTIONS=--enable-gc-assertions - CONF_CPP=--enable-cplusplus - os: linux @@ -48,7 +48,7 @@ matrix: - os: linux compiler: gcc env: - - CFLAGS_EXTRA="-D ENABLE_TRACE -D EMPTY_GETENV_RESULTS -D GC_ALWAYS_MULTITHREADED -D CPPCHECK -D LINT2" + - CFLAGS_EXTRA="-D ENABLE_TRACE -D EMPTY_GETENV_RESULTS -D GC_ALWAYS_MULTITHREADED -D CPPCHECK" - CONF_CPP=--enable-cplusplus - os: linux compiler: clang @@ -114,6 +114,7 @@ matrix: - CONF_LARGE_CONFIG=--enable-large-config - CONF_CPP=--enable-cplusplus - CONF_M_UNMAP=--enable-munmap + - CFLAGS_EXTRA="-D LINT2" - os: linux addons: { apt: { packages: [ gcc-multilib ] } } compiler: clang