]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: remove coverity stuff
authorVincent Bernat <vincent@bernat.im>
Sat, 19 Mar 2016 19:08:34 +0000 (20:08 +0100)
committerVincent Bernat <vincent@bernat.im>
Sat, 19 Mar 2016 19:08:34 +0000 (20:08 +0100)
It's broken. Maybe it would be better to use clang-analyzer instead.

.travis.yml
tests/ci/run.sh

index de41f6533f1cc3e0567e998489f8b20f2e87dd60..40289e887b23a0269eca0f2a3d70bd54f71b5bd8 100644 (file)
@@ -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"
index 45ca71f8a00940b8ab7d6ba17dcd500076f6db72..75475b55927d20ff45333dd90a6bdbfa5d2edb02 100755 (executable)
@@ -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"