1. 31 Oct, 2016 1 commit
    • coverity: check for Coverity token only if necessary · 18c18e3d
      When running a Coverity build, we have to provide an
      authentication token in order to proof that we are actually
      allowed to run analysis in the name of a certain project. As this
      token should be secret, it is only set on the main repository, so
      when we were requested to run the Coverity script on another
      repository we do error out. But in fact we do also error out if
      the Coverity analysis should _not_ be run if there is no
      authentication token provided.
      
      Fix the issue by only checking for the authentication token after
      determining if analysis is indeed requested.
      Patrick Steinhardt committed
  2. 28 Oct, 2016 2 commits
  3. 11 Mar, 2016 1 commit
    • coverity: report errors when uploading tarball · 2615d0d6
      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.
      Patrick Steinhardt committed
  4. 10 Feb, 2016 2 commits
    • coverity: use https URL for posting build · 50174ab4
      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.
      Patrick Steinhardt committed
    • coverity: provide nodef for GITERR_CHECK_ALLOC · 8dddea42
      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.
      Patrick Steinhardt committed
  5. 20 Nov, 2014 1 commit
  6. 15 Jan, 2014 2 commits
  7. 13 Jan, 2014 1 commit