ソースを参照

CI: Remove coverity since it does not integrate well.

The majority of the coverity features are covered by other tools we already use.
Stefan Profanter 5 年 前
コミット
b4c8443fa9
共有4 個のファイルを変更した1 個の追加31 個の削除を含む
  1. 0 14
      .travis.yml
  2. 1 2
      README.md
  3. 0 1
      tools/travis/travis_linux_after_success.sh
  4. 0 14
      tools/travis/travis_push_coverity.sh

+ 0 - 14
.travis.yml

@@ -7,9 +7,6 @@ env:
   global:
     # GITAUTH:
     - secure: nSunY54Wp5HkQCHHbKwlwpbaKyqRVIu/0EnhaoJSwhM1wqerQV/E5d/2JelO9/tZgbungAO7wk/fjutRMVc7d378RTIPwS8vHpvZfEoGhCFsLoTOlqESzsZFBup2H5t1lpQ23jRHDOxlLdJy2lz5U+zd1YnYgDXqdDFjegsIYdo=
-    # COVERITY_SCAN_TOKEN:
-    - secure: C7LLWmOCdRYJGiXjFYDHWwBB6XGjs9Hio4kkvDehLRredRgp1UJ73g6Av9L7xrTUide6GiPrSd+RJw7py/twx5qaeIjOWPy+XvtmabDEQBquLjEkvS+LP2EycaMe92kHMo1ItFfRomgj1FyNYPVnUFgdyedGWv+p553ziDbrMas=
-
 
 dist: trusty
 
@@ -232,15 +229,6 @@ matrix:
       cache:
         directories:
           - '$HOME/.sonar/cache'
-addons:
-  coverity_scan:
-    project:
-      name: "open62541/open62541"
-      description: "Build submitted by Travis"
-    notification_email: noreply@open62541.org
-    build_command_prepend: "mkdir build && cd build && cmake .."
-    build_command: "make"
-    branch_pattern: coverity_scan
 
 cache:
   pip: true
@@ -286,8 +274,6 @@ before_install: |
  export PATH=$PATH:$HOME/Library/Python #OS X
  export PATH=$PATH:$HOME/Library/Python/2.7/bin #OS X
 
- # Exit travis if on coverity_scan branch and not first build
- test $TRAVIS_BRANCH != coverity_scan -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0
  if [ ${TRAVIS_OS_NAME} == "linux" ]; then sh ./tools/travis/travis_linux_before_install.sh; fi
  if [ ${TRAVIS_OS_NAME} == "osx" ]; then sh ./tools/travis/travis_osx_before_install.sh; fi
 

+ 1 - 2
README.md

@@ -17,7 +17,6 @@ Code Quality:
 
 [![Codacy Badge](https://api.codacy.com/project/badge/Grade/68ad08e897624c77a64fc2be66ca7b50)](https://www.codacy.com/app/open62541/open62541?utm_source=github.com&utm_medium=referral&utm_content=open62541/open62541&utm_campaign=Badge_Grade)
 [![Total Alerts](https://img.shields.io/lgtm/alerts/g/open62541/open62541.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/open62541/open62541/alerts)
-[![Coverity Scan Build Status](https://img.shields.io/coverity/scan/12248.svg)](https://scan.coverity.com/projects/open62541-open62541)
 [![Coverage Status](https://img.shields.io/coveralls/open62541/open62541/master.svg)](https://coveralls.io/r/open62541/open62541?branch=master)
 [![Code Quality: Cpp](https://img.shields.io/lgtm/grade/cpp/g/open62541/open62541.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/open62541/open62541/context:cpp)
 
@@ -72,7 +71,7 @@ We emphasize code quality. The following quality metrics are continuously checke
 - Zero errors indicated by the Compliance Testing Tool (CTT) of the OPC Foundation for the supported features
 - Zero compiler warnings from GCC/Clang/MSVC with very strict compilation flags
 - Zero issues indicated by unit tests (more than 80% coverage)
-- Zero issues indicated by clang-analyzer, clang-tidy, cpp-check and the Coverity static code analysis tools
+- Zero issues indicated by clang-analyzer, clang-tidy, cpp-check and the Codacy static code analysis tools
 - Zero unresolved issues from fuzzing the library in Google's oss-fuzz infrastructure
 - Zero issues indicated by Valgrind (Linux), DrMemory (Windows) and Clang AddressSanitizer / MemorySanitizer for the CTT tests, unit tests and fuzzing
 

+ 0 - 1
tools/travis/travis_linux_after_success.sh

@@ -7,7 +7,6 @@ if [ $MINGW = "true" ] && [ "${TRAVIS_REPO_SLUG}" = "open62541/open62541" ] && [
     # List branches where the doc should be pushed to the webpage
     if [ "${TRAVIS_BRANCH}" = "master" ] || [ "${TRAVIS_BRANCH}" = "0.3" ]; then
         sh ./tools/travis/travis_push_doc.sh
-        sh ./tools/travis/travis_push_coverity.sh
     fi
     sh ./tools/travis/travis_push_release.sh;
 else

+ 0 - 14
tools/travis/travis_push_coverity.sh

@@ -1,14 +0,0 @@
-#!/bin/bash
-set -ev
-
-# This script is run by travis-ci and pushes the first commit
-# of the day to the coverity scan service
-
-echo "=== Pushing ${TRAVIS_BRANCH} to coverity_scan branch ==="
-
-COMMITS=`git log --oneline --since=today.midnight | wc -l`
-if [ "$COMMITS" -le 1 ]; then
-    git push https://$GITAUTH@github.com/open62541/open62541 master:coverity_scan
-else
-    echo "Not the first commit of the day - no push to coverity required"
-fi