summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-18 23:52:02 (GMT)
committerYann Collet <cyan@fb.com>2018-09-18 23:52:02 (GMT)
commit5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c (patch)
tree39084e05bdfd5f391d229b7ffff79ada08378d97 /.travis.yml
parent697bd904b256e9927b65d23e187adb5dddf39399 (diff)
downloadlz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.zip
lz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.tar.gz
lz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.tar.bz2
added cppcheck
as Makefile target and Travis CI test. Fixed last cppcheck warnings in tests and examples
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index de6875b..5b0c6ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -129,13 +129,14 @@ matrix:
- qemu-user-static
- gcc-powerpc-linux-gnu
- - env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang
+ - env: Ubu=14.04 Cmd='make staticAnalyze && make cppcheck' COMPILER=clang
dist: trusty
sudo: required
addons:
apt:
packages:
- clang
+ - cppcheck
- env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror && make clean && CFLAGS=-fPIC LDFLAGS="-pie -fPIE -D_FORTIFY_SOURCE=2" make -C programs' COMPILER=gcc-4.4
dist: trusty