From bf271d350432e1629a800692964f66eab52848ac Mon Sep 17 00:00:00 2001 From: David Blom Date: Mon, 18 Jul 2016 14:38:33 +0200 Subject: [PATCH] wercker: multithreaded cppcheck static analysis (#299) --- wercker.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wercker.yml b/wercker.yml index be2f2ad5..d7e23e1d 100644 --- a/wercker.yml +++ b/wercker.yml @@ -133,10 +133,10 @@ build: - script: name: cppcheck code: | - (cd src/fsi && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd src/RBFMeshMotionSolver && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd src/tests && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd applications && cppcheck --error-exitcode=1 --enable=performance,portability .) + (cd src/fsi && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) + (cd src/RBFMeshMotionSolver && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) + (cd src/tests && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) + (cd applications && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) - script: name: cleanup code: rm -rf * @@ -238,10 +238,10 @@ debug: - script: name: cppcheck code: | - (cd src/fsi && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd src/RBFMeshMotionSolver && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd src/tests && cppcheck --error-exitcode=1 --enable=performance,portability .) - (cd applications && cppcheck --error-exitcode=1 --enable=performance,portability .) + (cd src/fsi && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) + (cd src/RBFMeshMotionSolver -j `nproc` && cppcheck --error-exitcode=1 --enable=performance,portability .) + (cd src/tests && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) + (cd applications && cppcheck -j `nproc` --error-exitcode=1 --enable=performance,portability .) - script: name: cleanup code: rm -rf *