From: Claudius Heine <[email protected]>

Signed-off-by: Claudius Heine <[email protected]>
---
 .travis.yml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 4fa4045..db7c1f6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,10 @@ env:
     - TARGET=native
     - TARGET=i586
     - TARGET=cppcheck
+  global:
+   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+   #   via the "travis encrypt" command using the project repo's public key
+   - secure: ""
 language: c
 
 compiler:
@@ -22,11 +26,24 @@ compiler:
 
 sudo: required
 
+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-
+
 install:
   - sudo apt-get install gcc-multilib gnu-efi libpci-dev libz-dev:i386
   - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu xenial 
universe'
   - sudo apt-get update -qq
   - sudo apt-get install --no-install-recommends --target-release xenial 
libcmocka-dev
 
+addons:
+  coverity_scan:
+    project:
+      name: "siemens/efibootguard"
+      description: "Build submitted via Travis CI"
+    notification_email: [email protected]
+    build_command_prepend: "autoreconf -fi; ./configure; make clean"
+    build_command: "make"
+    branch_pattern: coverity_scan
+
 script:
-  - ./.travis-build.sh
+  - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then ./.travis-build.sh ; fi
-- 
2.14.1

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20170926132244.1615-4-claudius.heine.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to