Description Usage Arguments Details Value See Also Examples
Retrieve and create job Travis CI annotations
1 2 3 | get_annotations(job, ...)
create_annotation(job, body = list(), ...)
|
job |
A numeric job ID, or an object of class “travis_job”. |
... |
Additional arguments passed to |
body |
A list of arguments specifying the annotation. See API documentation for details. |
get_annotations
retrieves any annotations attached to a Travis CI job. create_annotation
creates a new annotation for a job. Note: As of October, 2015 support for annotations is considered “experimental”.
A list.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# authenticate based on Sys.setenv("GITHUB_TOKEN" = "sometoken")
auth_travis()
# get annotations for a job
get_annotations(12345)
# create a new annotation
create_annotations(12345, body = list(description = "job description", status = "passed"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.