summaryrefslogtreecommitdiff
path: root/.travis/cmake-linux
diff options
context:
space:
mode:
Diffstat (limited to '.travis/cmake-linux')
-rwxr-xr-x.travis/cmake-linux7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis/cmake-linux b/.travis/cmake-linux
index fe5de10a..541eb014 100755
--- a/.travis/cmake-linux
+++ b/.travis/cmake-linux
@@ -53,8 +53,15 @@ travis_install() {
53} 53}
54 54
55run_static_analysis() { 55run_static_analysis() {
56 pylint -E other/analysis/check_recursion
57
56 export CPPFLAGS="-isystem $CACHEDIR/include" 58 export CPPFLAGS="-isystem $CACHEDIR/include"
57 export LDFLAGS="-L $CACHEDIR/lib" 59 export LDFLAGS="-L $CACHEDIR/lib"
60 cat toxav/*.c toxcore/*.c toxencryptsave/*.c \
61 | clang `pkg-config --cflags libsodium opus vpx` \
62 -Itoxav -Itoxcore -Itoxencryptsave -S -emit-llvm -xc - -o- \
63 | opt -analyze -print-callgraph 2>&1 \
64 | other/analysis/check_recursion
58 other/analysis/run-clang 65 other/analysis/run-clang
59 other/analysis/run-clang-analyze 66 other/analysis/run-clang-analyze
60} 67}