Skip to content

Commit

Permalink
travis-ci: don't build Git for the static analysis job
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
szeder authored and gitster committed Nov 2, 2017
1 parent 83d1efe commit c215495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ matrix:
packages:
- coccinelle
before_install:
# "before_script" that builds Git is inherited from base job
before_script:
script: ci/run-static-analysis.sh
after_failure:
- env: Documentation
Expand Down

0 comments on commit c215495

Please sign in to comment.