File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ matrix:
4747 os : linux
4848 allow_failures :
4949 - env : COVERITY=1
50- - env :
51- - VALGRIND=1
52- OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=OFF -DDEBUG_POOL=ON -DCMAKE_BUILD_TYPE=Debug"
5350
5451install :
5552 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- # Environment check
5- [ -z " $COVERITY_TOKEN " ] && echo " Need to set a coverity token" && exit 1
6-
74# Only run this on our branches
8- echo " Pull request: $TRAVIS_PULL_REQUEST | Slug: $TRAVIS_REPO_SLUG "
9- if [ " $TRAVIS_PULL_REQUEST " != " false" -o " $TRAVIS_REPO_SLUG " != " libgit2/libgit2" ];
5+ echo " Branch: $TRAVIS_BRANCH | Pull request: $TRAVIS_PULL_REQUEST | Slug: $TRAVIS_REPO_SLUG "
6+ if [ " $TRAVIS_BRANCH " != " master " -o " $ TRAVIS_PULL_REQUEST" != " false" -o " $TRAVIS_REPO_SLUG " != " libgit2/libgit2" ];
107then
11- echo " Only analyzing 'development' on the main repo ."
8+ echo " Only analyzing the 'master' brach of the main repository ."
129 exit 0
1310fi
1411
15- COV_VERSION=6.6.1
12+ # Environment check
13+ [ -z " $COVERITY_TOKEN " ] && echo " Need to set a coverity token" && exit 1
14+
1615case $( uname -m) in
1716 i? 86) BITS=32 ;;
1817 amd64|x86_64) BITS=64 ;;
1918esac
20- SCAN_TOOL=https://scan.coverity.com/download/linux- ${BITS}
19+ SCAN_TOOL=https://scan.coverity.com/download/cxx/ linux${BITS}
2120TOOL_BASE=$( pwd) /_coverity-scan
2221
2322# Install coverity tools
You can’t perform that action at this time.
0 commit comments