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:
parent
b7bd9486b0
commit
4ab8d1af33
@ -5,6 +5,6 @@
|
|||||||
|
|
||||||
. ${0%/*}/lib-travisci.sh
|
. ${0%/*}/lib-travisci.sh
|
||||||
|
|
||||||
make coccicheck
|
make --jobs=2 coccicheck
|
||||||
|
|
||||||
save_good_tree
|
save_good_tree
|
||||||
|
Loading…
Reference in New Issue
Block a user