[ 
https://issues.apache.org/jira/browse/PROTON-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560634#comment-16560634
 ] 

Jiri Daněk commented on PROTON-1796:
------------------------------------

GitHub: https://github.com/msgqe/travisci/tree/qpid-proton-coverity
TravisCI: https://travis-ci.org/msgqe/travisci/builds/409066662
Coverity: https://scan.coverity.com/projects/apache-qpid-proton

For some reason I cannot adjust Analysys Settings/Project Components (I get a 
404 error when I add components and then click "Save changes"). I wanted to 
especially exclude tests from analysis, because it was my experience in 
Artemis, that inference of null values is broken if test code is considered 
(and there are stub implementations of classes with methods returning null).

The patterns I had in mind were something like (with .* at the end of each):

{noformat}
/qpid-proton/c/src
/qpid-proton/c/examples
/qpid-proton/c/tests

/qpid-proton/cpp/src
/qpid-proton/cpp/examples

/qpid-proton/ruby
/qpid-proton/go
/qpid-proton/python

/qpid-proton-j/proton-j
/qpid-proton-j/examples/
/qpid-proton-j/tests/
{noformat}

> Automated periodic Coverity Scan runs
> -------------------------------------
>
>                 Key: PROTON-1796
>                 URL: https://issues.apache.org/jira/browse/PROTON-1796
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: proton-c-0.21.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> The attached commit could be added as a new branch. Then, TravisCI can be set 
> up
> to build it daily (or weekly).
> What it does is that it
> * checks out the current master branch
> * builds it under the Coverity tool
> * submits the build to Coverity Scan
> The {{COVERITY_SCAN_TOKEN}} would need to be replaced with a correct one.
> The new branch would need to be created.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to