Skip to content

Commit c215495

Browse files
szedergitster
authored andcommitted
travis-ci: don't build Git for the static analysis job
The static analysis job on Travis CI builds Git ever since it was introduced in d8245bb (travis-ci: add static analysis build job to run coccicheck, 2017-04-11). However, Coccinelle, the only static analysis tool in use, only needs Git's source code to work and it doesn't care about built Git binaries at all. Spare some of Travis CI's resources and don't build Git for the static analysis job unnecessarily. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 83d1efe commit c215495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ matrix:
7171
packages:
7272
- coccinelle
7373
before_install:
74-
# "before_script" that builds Git is inherited from base job
74+
before_script:
7575
script: ci/run-static-analysis.sh
7676
after_failure:
7777
- env: Documentation

0 commit comments

Comments
 (0)