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>

SZEDER Gábor committed Jul 23, 2018 at 15:02 UTC 4ab8d1af336ed1a8547ee773149bec8a31a9941c
1 file changed +1 -1
ci/run-static-analysis.sh
+1 -1
@@ -5,6 +5,6 @@
5
6 . ${0%/*}/lib-travisci.sh
7
8 -make coccicheck
8 +make --jobs=2 coccicheck
9
10 save_good_tree