diff --git a/.travis.yml b/.travis.yml index ca43be04a..b49df53e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: