aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/targets
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-13 00:19:32 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-13 00:19:32 +0100
commitadf8bbccc3189836ea14f8a6583575cc910133ad (patch)
tree5bf12f16677fe5976927469abb6699b569da0753 /.travis/targets
parentb859a062f879193c2da54d3972339ea335558610 (diff)
downloadblogc-adf8bbccc3189836ea14f8a6583575cc910133ad.tar.gz
blogc-adf8bbccc3189836ea14f8a6583575cc910133ad.tar.bz2
blogc-adf8bbccc3189836ea14f8a6583575cc910133ad.zip
Revert "travis: added clang-analyzer target"
This reverts commit edb413ade788920d2aa03564df7fbc5ad6b7c194.
Diffstat (limited to '.travis/targets')
-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 bd2d61d..0000000
--- a/.travis/targets/clang-analyzer.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-build() {
- pushd build > /dev/null
- ../configure \
- CFLAGS="-Wall -g -O0" \
- --enable-silent-rules \
- --enable-ronn \
- --enable-tests \
- --disable-valgrind \
- --enable-git-receiver \
- --enable-make \
- --enable-runserver
- popd > /dev/null
-
- PN="$(grep PACKAGE_TARNAME build/config.h | cut -d\" -f2)"
- PV="$(grep PACKAGE_VERSION build/config.h | cut -d\" -f2)"
- P="${PN}-clang-analyzer-${PV}"
-
- set +e
- scan-build \
- --status-bugs \
- -o "build/${P}" \
- make -C build
- RV=$?
- set -e
-
- if [[ ${RV} -ne 0 ]]; then
- tar \
- -cvJf "build/${P}.tar.xz" \
- -C build/${P}/ \
- .
- fi
-
- echo ${RV} > build/.test_result
-}
-
-deploy_cond() {
- [[ "x${CC}" = "xclang" ]] && [[ -f build/*.tar.xz ]]
-}
-
-deploy() {
- FILES=( build/*.tar.xz )
-}