diff options
author | Pascal Buhler <pabuhler@cisco.com> | 2017-10-19 09:03:13 +0200 |
---|---|---|
committer | Pascal Buhler <pabuhler@cisco.com> | 2017-11-11 21:41:49 +0100 |
commit | 8951a84011174fc67dcd831a3b03882233f63199 (patch) | |
tree | 28c03b43fc61b107f093a821c95696a5762a801e /.travis.yml | |
parent | be404654c69646056cf2331ead3cd6dbf880efa4 (diff) | |
download | libsrtp2-8951a84011174fc67dcd831a3b03882233f63199.tar.gz |
Add coverity scan to tavis builds
Current will run the scan on the master branch with
each build in master. If the frequency of commits
increases then can consider a coverity_scan branch.
Results can be found at:
https://scan.coverity.com/projects/cisco-libsrtp
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index af3e314..d84e2b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ dist: trusty sudo: false language: c +env: + global: + - secure: "YJSSinoWNfMicNYCdxsnlgZc9AIi1yKkgJTmKk41zRI23r8c5Z339Zl1p/boxOxD+YLCQshBYR00ckJXT9R8wQy0WhpWdA3YJYAMWjnVkbBMBNf3VEQSIvHwV8kLDBMPBikhks7b4ACPG3UYLsQrxUJFfJz4Grn7z8tbUedv1Gk=" + matrix: include: @@ -109,3 +113,20 @@ matrix: - test/srtp_driver -v - file test/test_srtp - test/test_srtp + + # coverity scan + - os: linux + env: + - TEST="Coverity Scan" + addons: + coverity_scan: + project: + name: "cisco-libSRTP" + description: "Build submitted via Travis CI" + version: 2 + notification_email: pabuhler@cisco.com + build_command_prepend: "./configure" + build_command: "make" + branch_pattern: master + script: + - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- |