Description Usage Arguments Details Value Examples
Retrieve a list of Travis-CI web hooks.
1 2 3 4 5 | get_hooks(...)
enable_hook(hook, ...)
disable_hook(hook, ...)
|
... |
Additional arguments passed to |
hook |
A numeric hook ID, or an object of class “travis_hook”. |
get_hooks
retrieves a list of hooks (i.e., repositories that are linked to Travis CI). enable_hook
and disable_hook
enable and disable hooks, respectively.
A list.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# authenticate based on Sys.setenv("GITHUB_TOKEN" = "sometoken")
auth_travis()
# get list of hooks
get_hooks()
# disable a hook
disable_hook("12345")
# enable a hook
enable_hook("1235")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.