{"thread":{"id":"47091","subject":"[PATCH] travis-ci: don't build Git for the static analysis job","startedAt":"2017-11-01T11:56:57Z","lastAt":"2017-11-01T11:56:57Z","messageCount":1,"participants":["SZEDER Gábor"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"331561","messageId":"20171101115644.15213-1-szeder.dev@gmail.com","threadId":"47091","inReplyTo":null,"subject":"[PATCH] travis-ci: don't build Git for the static analysis job","fromName":"SZEDER Gábor","fromEmail":"szeder.dev@gmail.com","sentAt":"2017-11-01T11:56:44Z","receivedAt":"2017-11-01T11:56:57Z","isPatch":true,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"The static analysis job on Travis CI builds Git ever since it was\nintroduced in d8245bb3f (travis-ci: add static analysis build job to\nrun coccicheck, 2017-04-11).  However, Coccinelle, the only static\nanalysis tool in use, only needs Git's source code to work and it\ndoesn't care about built Git binaries at all.\n\nSpare some of Travis CI's resources and don't build Git for the static\nanalysis job unnecessarily.\n\nSigned-off-by: SZEDER Gábor <szeder.dev@gmail.com>\n---\n .travis.yml | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/.travis.yml b/.travis.yml\nindex fead995ed..281f101f3 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -71,7 +71,7 @@ matrix:\n           packages:\n           - coccinelle\n       before_install:\n-      # \"before_script\" that builds Git is inherited from base job\n+      before_script:\n       script: ci/run-static-analysis.sh\n       after_failure:\n     - env: Documentation\n-- \n2.15.0.67.gb67a46776\n\n"}]}