You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2016/01/08 06:49:57 UTC

celix git commit: CELIX-330: Enable coverity

Repository: celix
Updated Branches:
  refs/heads/develop 05f3af9d1 -> b218a6b2c


CELIX-330: Enable coverity


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/b218a6b2
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/b218a6b2
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/b218a6b2

Branch: refs/heads/develop
Commit: b218a6b2cde08d8d2a17da80649194b1f04fb856
Parents: 05f3af9
Author: Bjoern Petri <bp...@apache.org>
Authored: Fri Jan 8 06:49:40 2016 +0100
Committer: Bjoern Petri <bp...@apache.org>
Committed: Fri Jan 8 06:49:40 2016 +0100

----------------------------------------------------------------------
 .travis.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/b218a6b2/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index fc1aa49..8cdf650 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,17 @@ compiler:
     - gcc
     - clang
 
+
+env:
+    global:
+        - COVERITY_SCAN_BUILD_COMMAND="make"
+        - COVERITY_SCAN_PROJECT_NAME="apache/celix"
+        - COVERITY_SCAN_NOTIFICATION_EMAIL="bpetri@apache.org"
+        - COVERITY_SCAN_BRANCH_PATTERN="develop"
+        - COVERITY_SCAN_TOKEN="iomLSuaE8KOZLDog-KK7Ug"
+        - COVERITY_SCAN_BUILD_URL="https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh"
+        - COVERITY_SCAN_BUILD="curl -s $COVERITY_SCAN_BUILD_URL | bash"
+
 matrix:
     include:
        - os: linux
@@ -49,4 +60,6 @@ after_success:
         gem install coveralls-lcov &&
         make coverage &&
         lcx="lcov --output-file=coverage.info " && for i in `find . -name "*.info.cleaned"`; do lcx+=" --add-tracefile=$i"; done && $lcx && coveralls-lcov --repo-token=9dpeTAjiGoQU5hgXFe0ezk65iu40oc3WY coverage.info;
+        make clean && eval "$COVERITY_SCAN_BUILD"
+        #if [ $(( $TRAVIS_BUILD_NUMBER  % 10 )) -eq 0 ]; then make clean & eval "$COVERITY_SCAN_BUILD"; fi
       fi;