7

我正在尝试将Coverity Scan 静态分析添加到我的 Qt Mac 项目中,但我无法使用 travis 提交构建。

这是我的覆盖率特定的 travis 设置:

addons:
  coverity_scan:
    project:
      name: Phonations/TravisTest
      description: Build submitted via Travis CI
    notification_email: martin@phonations.com
    build_command_prepend: cov-configure --comptype clangcxx --compiler clang++ --template
    build_command_prepend: qmake QtTest.pro
    build_command: make -j 4
    branch_pattern: coverity

这是我通过邮件收到的结果:

Your request for analysis of Phonations/TravisTest  is failed.
Analysis status: Failure
    Please fix the error and upload the build again.

    Error details:
    Build uploaded has not been compiled fully. Please fix any compilation error. You may have to run bin/cov-configure as described in the article on Coverity Community. Last few lines of cov-int/build-log.txt should indicate 85% or more compilation units ready for analysis
    For more detail explanation on the error, please check: https://communities.coverity.com/message/4820

    If your build process isn't going smoothly, email us at scan-admin@coverity.com
    with your cov-int/build-log.txt file attached for assistance, or post your issue
    to the Coverity Community at https://communities.coverity.com/community/scan-(open-source)/content

文档中并没有真正的 MacOS 特定解释。有人知道如何提交吗?

4

0 回答 0