celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [12/51] celix git commit: CELIX-330: Enable coverity
Date Mon, 25 Jan 2016 18:01:28 GMT
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/feature/CELIX-335_deploy_refactoring
Commit: b218a6b2cde08d8d2a17da80649194b1f04fb856
Parents: 05f3af9
Author: Bjoern Petri <bpetri@apache.org>
Authored: Fri Jan 8 06:49:40 2016 +0100
Committer: Bjoern Petri <bpetri@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;


Mime
View raw message