[pkg-opensc-commit] [opensc] 185/295: travis: synchronize coverity_scan with master

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 6850ec7e777095b0722307e40f2becd8a9343e95
Author: Frank Morgner <frankmorgner at gmail.com>
Date:   Fri Mar 3 00:36:10 2017 +0100

    travis: synchronize coverity_scan with master
    
    ... allows executing a cron job on coverity_scan for analysis
---
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 78b69ca..8f94d68 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ addons:
       description: "Build submitted via Travis CI"
     notification_email: viktor.tarasov at gmail.com
     build_command:   "make -j 4"
-    branch_pattern: master
+    branch_pattern: coverity_scan
 
 env:
   global:
@@ -46,6 +46,11 @@ matrix:
       env: HOST=i686-w64-mingw32
 
 before_script:
+  # we run a weekly cron job in travis on the coverity branch
+  # just synchronize it with master to get a new report
+  - if [ "${COVERITY_SCAN_BRANCH}" == 1 ]; then
+      git reset --hard origin/master;
+    fi
   - ./bootstrap
   - if [ -z "$HOST" ]; then
     CFLAGS="-Werror" ./configure $ENABLE_DOC --enable-dnie-ui;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list