summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6440ce5..4562fba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -726,7 +726,7 @@ script:
$CFLAGS_EXTRA tests/*.c src/*.c;
fi
- if [[ "$CPPCHECK_ENABLE" != "" ]]; then
- ~/cppcheck/cppcheck -f --error-exitcode=2 -D CPPCHECK -I src
+ ~/cppcheck/cppcheck -f --error-exitcode=2 -U AO_API -D CPPCHECK -I src
$CPPCHECK_ENABLE src/*.c tests/test_malloc.c tests/test_stack.c;
fi
- if [[ "$TESTS_CUSTOM_RUN" == true ]]; then