Moaz Reyad commented on SINGA-485:

Currently the Travis CI configuration performs only the build but no test is 
enabled. It does not compile with {code:bash} ENABLE_TEST {code} option enabled.

To perform code coverage analysis, we need to:
* Enable the build of unit tests using -DENABLE_TEST=ON
* Run the unit tests

Note that the current configuration is for C++ only since it has the line 
{code:bash} language: cpp {code}
It builds python and conda packages, but this does not help in the unit test of 
C++ code. Later we need to add language:python to the travis build matrix and 
move the python build/test under that item.

Any comments or discussion is welcome.

> Code Coverage Analysis
> ----------------------
>                 Key: SINGA-485
>                 URL: https://issues.apache.org/jira/browse/SINGA-485
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: Moaz Reyad
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
> SINGA development and testing can be improved by using a [code 
> coverage|https://en.wikipedia.org/wiki/Code_coverage] tool.
> Some Apache projects use [codecov|https://codecov.io/gh/apache?page=1], while 
> others use [coverall|https://coveralls.io/github/apache?page=1].
> This issue is open to choose a code coverage tool and add it to SINGA build 
> and test pipeline.

This message was sent by Atlassian Jira

Reply via email to