From 6850ec7e777095b0722307e40f2becd8a9343e95 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 3 Mar 2017 00:36:10 +0100 Subject: [PATCH] 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 78b69ca1..8f94d687 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ addons: description: "Build submitted via Travis CI" notification_email: viktor.tarasov@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;