]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add scan-build cmake build to build matrix
authorGabriel A. Devenyi <gdevenyi@gmail.com>
Tue, 11 Dec 2018 18:32:09 +0000 (13:32 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 16 Jan 2019 09:33:50 +0000 (10:33 +0100)
.travis.yml

index 3021cda57462fdb17be872b05f23c102fa3f52b0..6ca3fb7eabae999959446eef3187214275e60bf5 100644 (file)
@@ -2,6 +2,10 @@ language: c
 cache: ccache
 dist: xenial
 
+env:
+  global:
+    - MAKE="make"
+
 matrix:
   include:
     - os: linux
@@ -29,6 +33,9 @@ matrix:
     - os: linux
       compiler: clang
       env: BUILDDIR=../build TOOL="cmake ../zlib-ng"
+    - os: linux
+      compiler: clang
+      env: BUILDDIR=../build TOOL="scan-build -v --status-bugs cmake ../zlib-ng" MAKE="scan-build -v --status-bugs make"
 
     - os: osx
       compiler: gcc
@@ -137,4 +144,4 @@ matrix:
             - libc-dev-armel-cross
       env: CHOST=arm-linux-gnueabi BUILDDIR=. TOOL="./configure --zlib-compat"
 
-script: mkdir -p $BUILDDIR && cd $BUILDDIR && $TOOL && make -j2 && make test
+script: mkdir -p $BUILDDIR && cd $BUILDDIR && $TOOL && $MAKE -j2 && $MAKE test