[Forensics-changes] [yara] 315/368: Force scan.coverity.com certificate to be accepted by Travis instances

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.5.0
in repository yara.

commit d3c35f17f82b822d8cfb6ea9b5a4f1d65732ba8e
Author: plusvic <plusvic at gmail.com>
Date:   Wed Jun 15 11:28:38 2016 +0200

    Force scan.coverity.com certificate to be accepted by Travis instances
---
 .travis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 63a52c1..0dcca07 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,12 @@
 dist: trusty
 sudo: required
+
+before_install:
+  # The certificate for scan.coverity.com is too new and is not recognized by
+  # wget. This command adds the certificate to /etc/ssl/certs/ca-certificates.crt
+  # See: https://github.com/travis-ci/travis-ci/issues/6142
+  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
+
 install:
   - sudo dpkg --add-architecture i386
   # Not all repositories contain i386 binary packages
@@ -8,8 +15,11 @@ install:
   - sudo apt-get install -y gcc-multilib autoconf automake libtool libjansson-dev libmagic-dev libssl-dev
 
 before_script: ./bootstrap.sh
+
 script: ./configure && make && make check
+
 language: c
+
 env:
   global:
     # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list