Run coverty scan on cron triggers

This is so we can setup a weekly cron trigger of master, to run the
coverty scan.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2017-11-29 07:39:40 +01:00 committed by Dirk Hohndel
parent de53455a75
commit e64da6e219

View file

@ -42,6 +42,8 @@ matrix:
branch_pattern: coverity_scan
before_install:
# When the build on this branch gets triggered by travis-cron, do a coverty scan.
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then export COVERITY_SCAN_BRANCH=1 ; fi
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
script: