summaryrefslogtreecommitdiff
path: root/script/coverity.sh
Commit message (Collapse)AuthorAgeFilesLines
* coverity: report errors when uploading tarballPatrick Steinhardt2016-03-111-2/+16
| | | | | | | | | | | Curl by default does not report errors by setting the error code. As the upload can fail through several conditions (e.g. the rate limit, leading to unauthorized access) we should indicate this information in Travis CI. To improve upon the behavior, use `--write-out=%{http_code}` to write out the HTTP code in addition to the received body and return an error if the code does not equal 201.
* coverity: use https URL for posting buildPatrick Steinhardt2016-02-101-2/+1
| | | | | | | | | When posting our instrumented build results to Coverity we have to include sensitive information, in particular our authorization token. Currently we use an unencrypted channel to post this information, leading to the token being transferred in plain. Fix this by using a secured connection instead.
* coverity: provide nodef for GITERR_CHECK_ALLOCPatrick Steinhardt2016-02-101-0/+2
| | | | | | | | | | | | Coverity currently lists a lot of errors with regard to GITERR_CHECK_ALLOC causing resource leaks. We know this macro is only invoked when we want to abort because we are out of memory. Coverity allows for overriding the default model where we know that certain functions guarantee a desired behavior. The user_nodefs.h is used to override the behavior of macros. Re-define GITERR_CHECK_ALLOC inside of it to specify its abort nature.
* Run shell scripts through shellcheckUngureanu Marius2014-11-201-11/+11
|
* Refine build limitationBen Straub2014-01-151-2/+7
|
* Only run coverity on developmentBen Straub2014-01-151-0/+3
|
* Add coverity-scan scriptBen Straub2014-01-131-0/+49