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>
This commit is contained in:
SZEDER Gábor 2018-07-23 15:02:29 +02:00 committed by Junio C Hamano
parent b7bd9486b0
commit 4ab8d1af33

View file

@ -5,6 +5,6 @@
. ${0%/*}/lib-travisci.sh
make coccicheck
make --jobs=2 coccicheck
save_good_tree