[ccan] [PATCH 1/7] .travis.yml: Add support for Coverity Scan

David Gibson david at gibson.dropbear.id.au
Mon Apr 3 21:11:06 AEST 2017


Add support for Travis to upload builds to Coverity Scan.

Travis encrypted keys are there which should make it work for builds
at either:
    https://travis-ci.org/rustyrussell/ccan
or
    https://travis-ci.org/dgibson/ccan

Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 .travis.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 9f9dbcb..fe3dffc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,23 @@
 language: c
 sudo: false
 
+# Coverity Scan uploads
+env:
+  global:
+  # COVERITY_SCAN_TOKEN (rustyrussell/ccan)
+  - secure: "RU+r62MYrhaUcFOiXykFt0lpFzQVL6f5gyAKOv39PpYK10rsI/cM6N8wOReH1EmI7ktn7M+g3Fs2jA+i+bZW4rZSfm379hzduWisEo0vEWNwyWiIrl1WjgGptFDwOCzMQHwo+u4zH6E+CAOWnje5Zw+elokVTfC1orLbuQHABG4="
+  # COVERITY_SCAN_TOKEN (dgibson/ccan)
+  - secure: "OL7OqYjQPE6rpHwujZbZt1gR5TNYn6Z0b1JxBaL1AG+iHlTbRrFGqec/VpYi2SAlqcDZK3x2lUzsF+hzx4pNBLFu8wvMtDKD4grlME5M+Bu3LT+YnmWSkaCw1/01n/SFyeRAkNDUJhnp0wS5oJ9sWx6trKWf9Xw9HpoKlwbFEGM="
+
+addons:
+  coverity_scan:
+    project:
+      name: CCAN
+      #description: CCAN
+    notification_email: ccan at lists.ozlabs.org
+    build_command: make
+    branch_pattern: coverity_scan
+
 matrix:
   include:
   - compiler: gcc
-- 
2.9.3



More information about the ccan mailing list