From adf8bbccc3189836ea14f8a6583575cc910133ad Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 13 Mar 2018 00:19:32 +0100 Subject: Revert "travis: added clang-analyzer target" This reverts commit edb413ade788920d2aa03564df7fbc5ad6b7c194. --- .travis.yml | 2 -- .travis/targets/clang-analyzer.sh | 42 --------------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 .travis/targets/clang-analyzer.sh diff --git a/.travis.yml b/.travis.yml index b4a9153..80136d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,6 @@ matrix: env: TARGET=valgrind - compiler: clang env: TARGET=distcheck - - compiler: clang - env: TARGET=clang-analyzer - compiler: clang env: TARGET=distcheck os: osx 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 ) -} -- cgit v1.2.3-18-g5258