travis: change coverity to run on master

This change goes with disabling:
- Build pushed branches
- Build pushed pull requests

And adding a cron job on travis-ci to build master weekly.
This commit is contained in:
Julian Oes 2020-01-16 12:09:10 +01:00 committed by Daniel Agar
parent 6630087654
commit 9647bc3783
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ matrix:
include:
- os: linux
dist: xenial
if: branch = coverity_scan
# In order to stay under the coverity rate limit, we only run this weekly
# and not on push which is configured in travis-ci settings.
if: branch = master
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-