add_travis_user {secret} | R Documentation |
Add a user via their Travis repo.
Description
On Travis, every repo has a private/public key pair. This function adds a user and downloads the public key from Travis.
Usage
add_travis_user(travis_repo, email, vault = NULL)
Arguments
travis_repo |
Name of Travis repository, usually in a format
|
email |
Email address of the user. This is used to identify users. |
vault |
Vault location (starting point to find the vault).
To create a vault, use
If the starting point is a vault, that is used. Otherwise, if the
starting point is in a package tree, the |
See Also
Other user functions:
add_github_user()
,
add_user()
,
delete_user()
,
list_users()
Examples
## Not run:
vault <- file.path(tempdir(), ".vault")
create_vault(vault)
add_travis_user("gaborcsardi/secret", vault = vault)
list_users(vault = vault)
delete_user("travis-gaborcsardi-secret", vault = vault)
## End(Not run)