From a2fb9ab838dcf713db84df57b2dba05a50bd3ebe Mon Sep 17 00:00:00 2001 From: solusipse Date: Wed, 6 Sep 2017 00:39:00 +0200 Subject: [PATCH] Added cppcheck --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aa0509e..c10506e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,14 @@ language: c -script: make \ No newline at end of file + +compiler: + - gcc + - clang + +addons: + apt: + packages: + - cppcheck + +script: + - cppcheck --enable=all --error-exitcode=1 --inconclusive main.c fiche.c + - make