]> The Tcpdump Group git mirrors - libpcap/commitdiff
Travis CI: Workaround for the Coverity certificate problem
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 26 Apr 2019 19:53:43 +0000 (21:53 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 26 Apr 2019 20:07:49 +0000 (22:07 +0200)
The error message was:
"curl: (60) server certificate verification failed."

.travis.yml

index cc8d8a3b06b733d2db7b53fbcac1d5979c51193e..ce50fcfeedcd4b9e4cd782e657c6e7b578548183 100644 (file)
@@ -67,6 +67,8 @@ before_install:
   - uname -a
   - date
   - if [ "$TRAVIS_OS_NAME" = linux ]; then dpkg-query -f '${Package}__${Version}__${Architecture}\n' -W 'lib*-dev'; fi
+  - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt; fi
+  - if [ "$TRAVIS_OS_NAME" = linux ]; then sudo update-ca-certificates; fi
 
 install: