aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets/clang-analyzer.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/targets/clang-analyzer.sh')
-rw-r--r--.travis/targets/clang-analyzer.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/.travis/targets/clang-analyzer.sh b/.travis/targets/clang-analyzer.sh
deleted file mode 100644
index 31cd522..0000000
--- a/.travis/targets/clang-analyzer.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-build() {
- default_configure \
- --enable-silent-rules \
- --disable-tests
-
- local pn="$(grep PACKAGE_TARNAME config.h | cut -d\" -f2)"
- local pv="$(grep PACKAGE_VERSION config.h | cut -d\" -f2)"
- local p="${pn}-clang-analyzer-${pv}"
-
- set +e
- scan-build \
- --use-cc="${CC}" \
- -o reports \
- make
- local rv=$?
- set -e
-
- local num_reports=$(ls -1 reports | wc -l)
- [[ ${num_reports} -eq 0 ]] && return ${rv}
- [[ ${num_reports} -eq 1 ]]
-
- local reports="reports/$(ls -1 reports)"
-
- if [[ -d "${reports}" ]]; then
- mv "${reports}" clang-analyzer
- tar \
- -cvJf "${p}.tar.xz" \
- clang-analyzer
- rv=1
- fi
-
- return ${rv}
-}
-
-deploy() {
- FILES=( *.tar.xz )
- [[ ${RV} -ne 0 ]] && [[ "x${CC}" = "xclang" ]]
-}
-
-extract() {
- grep .
-}