]> git.gsnw.org Git - fping.git/commitdiff
add automated coverity
authorDavid Schweikert <david@schweikert.ch>
Mon, 23 Jan 2017 21:07:10 +0000 (22:07 +0100)
committerDavid Schweikert <david@schweikert.ch>
Mon, 23 Jan 2017 21:07:10 +0000 (22:07 +0100)
.travis.yml

index c2b2cfaf262dc6fa6930a68a686ac272d2c3db78..8d68909c577bd4628cb4ad8db0be7318371a31b0 100644 (file)
@@ -6,13 +6,17 @@ dist: trusty
 env:
     global:
         - secure: "CoI8hwHH1yfQoQxIfWGRS0WfTyScox+5aJn0fDDgz2uKrrIxmBvIw/WKX8wcSiV6fLmLuwgNkKqSM3hdO4qaG+JxfWcuEiZZHm+kxSGMkWbGb/fvAI+gHg8ldKyYttcIX71O5rlZiC2QpNKQi2v18S6pI5p8eqnx7DYx4YrmguQ="
+       # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+       #   via the "travis encrypt" command using the project repo's public key
+        - secure: "C9ZJ9LYnuowRdF4D66KLfquimvu8GtRGIafwvCcGYKReEy8phlBdFsHlybkMBNYJNTJSM0j6wyo1lKTVGHxmpQDimjR7kmxUtawbhuJ5qOCBtFqNVh9lRQi7hC4+UOhvRsIcbV8HAJM5u/5RxGOfXCePK3a2DtiYv1d2NHToZN8="
 compiler:
     - gcc
 before_install:
     - sudo apt-get update -qq
     - sudo apt-get install libcap2-bin
-    - sudo apt-get install traceroute
-    - traceroute google.com
+    #- sudo apt-get install traceroute
+    #- traceroute google.com
+    - 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:
     - ci/build-1-autotools.sh
     - curl -L http://cpanmin.us | perl - --sudo App::cpanminus
@@ -24,3 +28,13 @@ script:
 after_success:
     - ci/coveralls.sh
     - ci/deploy-bintray.sh
+
+addons:
+  coverity_scan:
+    project:
+      name: "schweikert/fping"
+      description: "Build submitted via Travis CI"
+    notification_email: david@schweikert.ch
+    build_command_prepend: "./configure; make clean"
+    build_command:   "make -j 4"
+    branch_pattern: coverity_scan