summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2020-03-10 08:44:28 +0300
committerIvan Maidanski <ivmai@mail.ru>2020-03-10 08:44:28 +0300
commit05812c266e009197b7b99bff9a97ba6f793445c5 (patch)
treefdef3f25b38c2951148c564251cdae35c70be297 /.travis.yml
parentae996e93f0ddfb8e2a93d49c6d7edc1478ad60c1 (diff)
downloadlibatomic_ops-05812c266e009197b7b99bff9a97ba6f793445c5.tar.gz
Travis CI: Do not pass test_atomic.c to cppcheck
cppcheck produces many false positives in test_atomic_include.h.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1801ebc..b2c49bf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -595,7 +595,7 @@ script:
fi
- if [[ "$CPPCHECK_ENABLE" != "" ]]; then
~/cppcheck/cppcheck -f --error-exitcode=2 -D CPPCHECK -I src
- $CPPCHECK_ENABLE tests/*.c src/*.c;
+ $CPPCHECK_ENABLE src/*.c tests/test_malloc.c tests/test_stack.c;
fi
- if [[ "$TESTS_CUSTOM_RUN" == true ]]; then
ASAN_OPTIONS="detect_leaks=1" UBSAN_OPTIONS="halt_on_error=1"