有没有人通过 travis-ci 成功地在他们的 Objective-C 项目上运行了覆盖。我已经按照https://scan.coverity.com/travis_ci中概述的步骤进行操作,并且我已经将构建提交到覆盖以在代码库上运行分析,但我只是在我的 travis-ci 中收到此错误日志输出:
[WARNING] No files were emitted. This may be due to a problem with your configuration
or because no files were actually compiled by your build command.
Please make sure you have configured the compilers actually used in the compilation.
For more details, please look at:
/Users/travis/build/betfair/aping-ios-sdk/cov-int/build-log.txt
Extracting SCM data for 0 files...
Please see the log file '/Users/travis/build/betfair/aping-ios-sdk/cov-int/scm_log.txt' for warnings and SCM command issues.
Added 0 entries
[33;1mTarring Coverity Scan Analysis results...[0m
[33;1mUploading Coverity Scan Analysis results...[0m
travis_fold:end:build_coverity
coverity_scan:end
$ travis/script.sh
构建的完整输出可在https://s3.amazonaws.com/archive.travis-ci.org/jobs/29211502/log.txt获得
https://github.com/betfair/aping-ios-sdk/blob/coverity_scan/.travis.yml是我的 travis yml 文件的样子,我的构建只是指向https://github.com/betfair/aping- ios-sdk/blob/coverity_scan/travis/coverity.sh来构建项目。
我查看了https://github.com/daksheshvyas/MyHelloWorld/blob/master/.travis.yml上的示例“HelloWorld”.travis.yml 文件,我不相信这两个文件之间有任何明显的差异二。
有人对我在哪里出错有任何想法吗?
肖恩