add clang scan-build
This commit is contained in:
parent
bda493d770
commit
742b4cee78
@ -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"
|
||||
|
9
scan_build.sh
Executable file
9
scan_build.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user