From 4f82131faaef3aff02f235f8bbfe957d16dfb142 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 19 Mar 2016 20:08:34 +0100 Subject: [PATCH] travis: remove coverity stuff It's broken. Maybe it would be better to use clang-analyzer instead. --- .travis.yml | 10 ---------- tests/ci/run.sh | 20 -------------------- 2 files changed, 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index de41f653..40289e88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,6 @@ install: script: - ./tests/ci/run.sh env: - global: - - secure: "1qAHFxnz0gIxMMl9DAVzoPvVSpOacWT2G6ItcaoaVe1r4OANzpoHBlbyHX2I/1KFe+BohzjS9kXA4NrlPaL81qfvu9E6qZ9yai/+0gHdzZttB2uvdyFXyDVye3CHHDlYMfRRQf6C+eYs5CKeedWq9Q3arO1GyAWiL9RcW1466sg=" - - COVERITY_SCAN_BRANCH_PATTERN=coverity_scan - - COVERITY_SCAN_NOTIFICATION_EMAIL="bernat@luffy.cx" - - RUN_COVERITY=0 matrix: - LLDPD_CONFIG_ARGS="" - LLDPD_CONFIG_ARGS="--with-embedded-libevent" @@ -27,8 +22,3 @@ matrix: - os: osx compiler: clang env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json" - - os: linux - compiler: gcc - env: - - RUN_COVERITY=1 - - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json" diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 45ca71f8..75475b55 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -2,26 +2,6 @@ set -e -# Handle coverity scan -case "${RUN_COVERITY}","${TRAVIS_BRANCH}" in - 0,"${COVERITY_SCAN_BRANCH_PATTERN}") - echo "On coverity branch, don't execute a normal build" - exit 0 - ;; - 1,"${COVERITY_SCAN_BRANCH_PATTERN}") - [ x"${COVERITY_SCAN_TOKEN}" = x"" ] || \ - curl -s https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh | \ - COVERITY_SCAN_PROJECT_NAME="$TRAVIS_REPO_SLUG" \ - COVERITY_SCAN_BUILD_COMMAND="make CFLAGS=-Werror" \ - bash - exit $? - ;; - 1,*) - echo "On regular branch, don't run a coverity build" - exit 0 - ;; -esac - [ $CC != gcc ] || CC=gcc-5 [ $(uname -s) != Linux ] || LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-sanitizers" -- 2.39.5