celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [2/2] celix git commit: CELIX-360: Updates travis config to enforce coverity upload
Date Wed, 04 May 2016 13:32:38 GMT
CELIX-360: Updates travis config to enforce coverity upload


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

Branch: refs/heads/develop
Commit: f593c02e244d7f208b647e9bb00f052087ef1ab1
Parents: 74154ab
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Wed May 4 15:32:04 2016 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Wed May 4 15:32:04 2016 +0200

----------------------------------------------------------------------
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/f593c02e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 8f8042a..d1f6729 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,7 @@ env:
         - 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 | sed 's/https:\/\/scan.coverity.com\/builds/https:\/\/scan.coverity.com\/builds?project=Apache+Celix/g'
| bash"
+        - COVERITY_SCAN_ALWAYS_ON="y"
 
 matrix:
     include:
@@ -95,5 +96,5 @@ 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;
-        if [ $(( $TRAVIS_BUILD_NUMBER  % 5 )) -eq 0 ]; then make clean & eval "$COVERITY_SCAN_BUILD";
fi
+        if [ $(( $TRAVIS_BUILD_NUMBER  % 5 )) -eq 0 -o ${COVERITY_SCAN_ALWAYS_ON} = "y" ];
then make clean & eval "$COVERITY_SCAN_BUILD"; fi
       fi;


Mime
View raw message