summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-26 06:39:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-26 06:39:04 (GMT)
commitfa86d5cebe4151b642f66d932b842814e984c70e (patch)
treec640c05ad6c93be6c6810213d6deb9bb356dd79e /.travis.yml
parent44427a0c18c0179be72223650715f031a10a5e66 (diff)
parentd8245bb3fd4442dbc8da8d3b7167d48f83687992 (diff)
downloadgit-fa86d5cebe4151b642f66d932b842814e984c70e.zip
git-fa86d5cebe4151b642f66d932b842814e984c70e.tar.gz
git-fa86d5cebe4151b642f66d932b842814e984c70e.tar.bz2
Merge branch 'ls/travis-coccicheck'
Travis CI learns to run coccicheck. * ls/travis-coccicheck: travis-ci: add static analysis build job to run coccicheck
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index c757a11..297b0bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,6 +71,18 @@ matrix:
# Use the following command to debug the docker build locally:
# $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
# root@container:/# /usr/src/git/ci/run-linux32-build.sh
+ - env: Static Analysis
+ os: linux
+ compiler:
+ addons:
+ apt:
+ packages:
+ - coccinelle
+ before_install:
+ script:
+ # "before_script" that builds Git is inherited from base job
+ - make coccicheck
+ after_failure:
- env: Documentation
os: linux
compiler: clang