add clang scan-build

This commit is contained in:
Steffen Jaeckel 2017-05-22 22:54:51 +02:00
parent bda493d770
commit 742b4cee78
2 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,10 @@ env:
BUILDSCRIPT="check_source.sh" BUILDSCRIPT="check_source.sh"
BUILDNAME="CHECK_SOURCES" BUILDNAME="CHECK_SOURCES"
BUILDOPTIONS=" " BUILDOPTIONS=" "
- |
BUILDSCRIPT="scan_build.sh"
BUILDNAME="SCAN_BUILD"
BUILDOPTIONS=" "
- | - |
BUILDSCRIPT="coverage.sh" BUILDSCRIPT="coverage.sh"
BUILDNAME="COVERAGE" BUILDNAME="COVERAGE"

9
scan_build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
[ "$TRAVIS_CI" != "" ] && sudo apt-get install clang -y -qq || true
# output version
bash printinfo.sh
make clean > /dev/null
scan-build make -f makefile.unix all