summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2018-07-23 15:02:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-23 12:08:36 -0700
commit4ab8d1af336ed1a8547ee773149bec8a31a9941c (patch)
tree867011909ffce1ae3051b83443262192090f1a31 /ci
parentThird batch for 2.19 cycle (diff)
downloadtgif-4ab8d1af336ed1a8547ee773149bec8a31a9941c.tar.xz
travis-ci: run Coccinelle static analysis with two parallel jobs
Currently the static analysis build job runs Coccinelle using a single 'make' job. Using two parallel jobs cuts down the build job's run time from around 10-12mins to 6-7mins, sometimes even under 6mins (there is quite large variation between build job runtimes). More than two parallel jobs don't seem to bring further runtime benefits. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/run-static-analysis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run-static-analysis.sh b/ci/run-static-analysis.sh
index fe4ee4e06b..fa719c9ef9 100755
--- a/ci/run-static-analysis.sh
+++ b/ci/run-static-analysis.sh
@@ -5,6 +5,6 @@
. ${0%/*}/lib-travisci.sh
-make coccicheck
+make --jobs=2 coccicheck
save_good_tree