summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2017-11-01 11:56:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-02 02:05:30 (GMT)
commitc2154953b8d890d86a771e5ea52d52a9392ca081 (patch)
tree0cfe714e3889ce799b0609ffb5c37ef7fdbcee44
parent83d1efe5d441e6e9bfe6b16f0bca2dac80f77b1b (diff)
downloadgit-c2154953b8d890d86a771e5ea52d52a9392ca081.zip
git-c2154953b8d890d86a771e5ea52d52a9392ca081.tar.gz
git-c2154953b8d890d86a771e5ea52d52a9392ca081.tar.bz2
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 d8245bb3f (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 <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index fead995..281f101 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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