Browse Source

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>
maint
SZEDER Gábor 7 years ago committed by Junio C Hamano
parent
commit
4ab8d1af33
  1. 2
      ci/run-static-analysis.sh

2
ci/run-static-analysis.sh

@ -5,6 +5,6 @@ @@ -5,6 +5,6 @@

. ${0%/*}/lib-travisci.sh

make coccicheck
make --jobs=2 coccicheck

save_good_tree

Loading…
Cancel
Save