]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: don't do anything if not on the coverity branch
authorVincent Bernat <vincent@bernat.im>
Fri, 16 May 2014 08:47:14 +0000 (10:47 +0200)
committerVincent Bernat <vincent@bernat.im>
Fri, 16 May 2014 08:47:14 +0000 (10:47 +0200)
.travis/install.sh
.travis/run.sh

index 2bfedcedd998158042da06cc403014b56812810a..153443ba237e4c93ac50fa44bca2b8f3f344d069 100755 (executable)
@@ -4,6 +4,11 @@
 
 set -e
 
+if [ x"${RUN_COVERITY}" = x"1" ] && \
+    [ x"${COVERITY_SCAN_BRANCH_PATTERN}" != x"${TRAVIS_BRANCH}" ]; then
+    exit 0
+fi
+
 case "$(uname -s)" in
     Darwin)
         # OS X
index ef102cf57287dc9a1f727ddd5a9666cb951392c5..419e43a9ee79770599bf369d7c2d3de583a8732d 100755 (executable)
@@ -2,6 +2,11 @@
 
 set -e
 
+if [ x"${RUN_COVERITY}" = x"1" ] && \
+    [ x"${COVERITY_SCAN_BRANCH_PATTERN}" != x"${TRAVIS_BRANCH}" ]; then
+    exit 0
+fi
+
 ./autogen.sh
 ./configure $LLDPD_CONFIG_ARGS