Append to your
r_packages: - covr after_success: - Rscript -e 'library(covr); codecov()'
If your code coverage badge is not updated you should check the travis log first:
The badge must look like this:
Click on the travis build badge (picture) to open the build log.
At the end you can see code coverage section:
Click on the small triangle at the left side of "$ Rscript..." to see all log details:
If you do not see
$uploaded  TRUE
there was a problem and you will see the error message here.
If the error message is from the
covr package you can try to find the problem by calling
on your local computer when the package source code is in the current directory with this R command:
covr::package_coverage(type = "tests")
@jimhester wrote a thorough description found here: jimhester/wercker-r-example
See the coverage reports of this repository at codecov.io
We are happy to help if you have any questions. Please contact email our Support at [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.