From: Anders Björklund Date: Thu, 3 Nov 2016 20:22:51 +0000 (+0100) Subject: Run the Clang static analyzer test with Travis X-Git-Tag: v3.4~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b796bdb33d62b2d987c5ba5e8cd15700661dcdd;p=thirdparty%2Fccache.git Run the Clang static analyzer test with Travis Need to install the "clang" package, in order to get "scan-build". Apparently the default binary (from llvm.org) doesn't include it ? --- diff --git a/.travis.yml b/.travis.yml index b86e21375..9a70beb74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,12 @@ language: c addons: apt: packages: + - gperf - elfutils - zlib1g-dev - mingw32 - mingw32-binutils + - clang # scan-build os: - linux @@ -27,6 +29,9 @@ matrix: - os: linux compiler: clang env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0" + - os: linux + compiler: /usr/bin/clang + env: TEST=analyze exclude: - os: osx