deploy_travis: Rewrite Travis for Deployment

Description Usage Arguments Value Examples

View source: R/deploy_travis.R

Description

Writes the Deployment part of the Travis YAML for a binary package

Usage

1
2
3
4
5
6
deploy_travis(
  api_key,
  path = "DESCRIPTION",
  travis_file = ".travis.yml",
  user = "neuroconductor"
)

Arguments

api_key

API Key to Travis Key, Secure

path

Path to DESCRIPTION file

travis_file

Travis File

user

GitHub username of repository

Value

Name of travis file

Examples

1
2
3
4
5
6
travis_file = example_travis_file()
path = example_description_file()
outfile = deploy_travis(api_key = "test",
path = path,
travis_file = travis_file)
readLines(outfile)

muschellij2/ghtravis documentation built on April 1, 2021, 5:22 p.m.