Travis CI 上的 Coverity 无法正常工作,因为 'scan.coverity.com' 不受信任

Coverity on Travis CI not working because 'scan.coverity.com' isn't trusted

我正在尝试将 Coverity 添加到我的 Travis CI 构建中,但出于某种原因,即使遵循 instructions to enable Coverity, producing this .travis.yml file, the Coverity status seems to be stuck in "pending". Looking at the logs from Travis 它似乎也有几个错误:

Downloading Coverity Scan Analysis Tool...
ERROR: The certificate of ‘scan.coverity.com’ is not trusted.
ERROR: The certificate of ‘scan.coverity.com’ hasn't got a known issuer.

我不确定这是否是 为什么 服务卡在 "pending",但它看起来很可疑。有什么办法可以解决这个问题吗?我是不是漏掉了一个更大的问题?

这是一个错误、解决方法,Travis CI 团队的解决方案记录在 this issue on github 中(在撰写本文时不到 24 小时前关闭)。