Skip to content

Commit fa86d5c

Browse files
committed
Merge branch 'ls/travis-coccicheck'
Travis CI learns to run coccicheck. * ls/travis-coccicheck: travis-ci: add static analysis build job to run coccicheck
2 parents 44427a0 + d8245bb commit fa86d5c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ matrix:
7171
# Use the following command to debug the docker build locally:
7272
# $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
7373
# root@container:/# /usr/src/git/ci/run-linux32-build.sh
74+
- env: Static Analysis
75+
os: linux
76+
compiler:
77+
addons:
78+
apt:
79+
packages:
80+
- coccinelle
81+
before_install:
82+
script:
83+
# "before_script" that builds Git is inherited from base job
84+
- make coccicheck
85+
after_failure:
7486
- env: Documentation
7587
os: linux
7688
compiler: clang

0 commit comments

Comments
 (0)