Skip to content

Commit 30d8ff2

Browse files
committed
Bug appneta#385 run scan-build
1 parent 994ef8f commit 30d8ff2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ matrix:
2121
- os: linux
2222
dist: trusty
2323
compiler: clang
24+
env: CI_BUILD_PREFIX=scan-build-3.5
25+
addons:
26+
apt:
27+
packages:
28+
- clang-3.5
2429

2530
script:
2631
- autoreconf -iv > build.log 2>&1 || (cat build.log && exit 1)
27-
- ./configure --disable-local-libopts > build.log 2>&1 || (cat build.log && exit 1)
28-
- make > build.log 2>&1 || (cat build.log && exit 1)
32+
- ${CI_BUILD_PREFIX} ./configure --disable-local-libopts > build.log 2>&1 || (cat build.log && exit 1)
33+
- ${CI_BUILD_PREFIX} make > build.log 2>&1 || (cat build.log && exit 1)
2934
- make dist > build.log 2>&1 || (cat build.log && exit 1)
3035
- sudo make test

0 commit comments

Comments
 (0)