[TIMOB-17802] Windows: Get Coverity Scan running on sample repository
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-01-06T23:03:06.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 4.1.0 |
| Components | Windows |
| Labels | merge-3.4.2 |
| Reporter | Ingo Muschenetz |
| Assignee | Christopher Williams |
| Created | 2014-09-29T18:47:51.000+0000 |
| Updated | 2017-03-22T22:47:20.000+0000 |
Description
Coverity Scan is a free service allow us to test our C++ code for flaws.
It has a very nice Travis CI integration, however it only works on public projects.
For now, we've created a sample repo:
https://github.com/appcelerator/coverity_test
To test running it.
Attachments
| File | Date | Size |
|---|---|---|
| build-log.txt.zip | 2014-09-29T18:50:40.000+0000 | 65440 |
The build is currently failing for unknown reasons. Here are the commands used to run coverity from the command line:
Attached is a log file../build_and_test_travis.sh cd build make clean ~/Documents/Appcelerator/src/download/cov-analysis-macosx-7.5.0/bin/cov-configure --comptype clangcxx --compiler /usr/bin/clang++ ~/Documents/Appcelerator/src/download/cov-analysis-macosx-7.5.0/bin/cov-build --dir cov-int make -j 4I set up a nightly build that will run under coverity and then will zip up the results and post to scan.coverity.com via curl. http://studio-jenkins.appcelerator.org/job/titanium_mobile_windows_nightly/ I think we can't yet see the defects because they need to approve our project as truly being open source, and right now that project is set up to a dummy github repo (https://github.com/appcelerator/coverity_test) rather than the real one, and the real one is not public.
Closing ticket as fixed.