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
+4
View File
@@ -32,6 +32,10 @@ env:
BUILDSCRIPT="check_source.sh"
BUILDNAME="CHECK_SOURCES"
BUILDOPTIONS=" "
- |
BUILDSCRIPT="scan_build.sh"
BUILDNAME="SCAN_BUILD"
BUILDOPTIONS=" "
- |
BUILDSCRIPT="coverage.sh"
BUILDNAME="COVERAGE"
Executable
+9
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