travis_sync: Travis CI utilities

Description Usage Arguments

View source: R/travis-util.R

Description

Helper functions for Travis CI.

travis_sync() initiates synchronization with GitHub and waits for completion by default.

travis_browse() opens a browser pointing to the current repo on Travis CI.

Usage

1
2
3
travis_sync(block = TRUE, token = travis_token(), quiet = FALSE)

travis_browse(repo = github_repo())

Arguments

block

[flag]
Set to FALSE to return immediately instead of waiting.

token

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

quiet

[flag]
Set to FALSE to suppress success message.

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().


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