Skip to content

Commit 4ab8d1a

Browse files
szedergitster
authored andcommitted
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>
1 parent b7bd948 commit 4ab8d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/run-static-analysis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

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

8-
make coccicheck
8+
make --jobs=2 coccicheck
99

1010
save_good_tree

0 commit comments

Comments
 (0)