summaryrefslogtreecommitdiff
path: root/.travis.sh
diff options
context:
space:
mode:
authorManish, Kumar <manish3.kumar@intel.com>2019-07-22 11:13:00 +0530
committerManish, Kumar <manish3.kumar@intel.com>2019-07-23 17:43:53 +0530
commit0a917b38f1a88ea07e65d53f9b242963c6771b59 (patch)
tree6f810a67b7ad70158a972294f225862905491795 /.travis.sh
parent9f9e9403cb97bdfe1d9f941745d66fcd9e8a1697 (diff)
downloadlibexpat-git-0a917b38f1a88ea07e65d53f9b242963c6771b59.tar.gz
Integrate cppcheck with travis-ci for libexpat
Signed-off-by: Manish, Kumar <manish3.kumar@intel.com>
Diffstat (limited to '.travis.sh')
-rwxr-xr-x.travis.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.sh b/.travis.sh
index a76e317f..228b354e 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -54,6 +54,8 @@ elif [[ ${MODE} = cmake-oos ]]; then
make all test
make DESTDIR="${PWD}"/ROOT install
find ROOT -printf "%P\n" | sort
+elif [[ ${MODE} = cppcheck ]]; then
+ cppcheck --quiet --error-exitcode=1 .
else
./qa.sh
fi