travis_get_caches: Get/delete repository cache(s) from Travis CI

Description Usage Arguments See Also

View source: R/travis-caches.R

Description

Return cache information

travis_get_caches() queries the "/repos/:repo/caches" API.

travis_delete_caches() returns the repo ID obtained from travis_repo_info().

Usage

1
2
3
4
5
travis_get_caches(repo = github_repo(), token = travis_token(repo),
  quiet = FALSE)

travis_delete_caches(repo = github_repo(), token = travis_token(repo),
  quiet = FALSE)

Arguments

repo

[string|numeric]
The GitHub repo slug, by default obtained through github_repo(). Alternatively, the Travis CI repo ID, e.g. obtained through travis_repo_id().

token

[Token2.0]
A Travis CI token obtained from travis_token() or auth_travis().

quiet

[flag]
Set to FALSE to suppress success message.

See Also

Other Travis CI functions: travis_repo_info, travis_repos, travis_set_pat


romainfrancois/travis documentation built on May 27, 2019, 1:49 p.m.