compiler: clang
dist: trusty
env: T=tidy
+ - os: linux
+ compiler: clang
+ dist: trusty
+ env: T=scan-build
- os: linux
compiler: clang
dist: trusty
./mainline.sh ${CURLSRC}
popd
fi
+ - |
+ if [ "$T" = "scan-build" ]; then
+ scan-build ./configure --enable-debug --enable-werror $C
+ scan-build --status-bugs make && scan-build --status-bugs make examples
+ fi
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
branches: