Write .travis.yml to working directory.

module_travis(flpth = getwd())

Arguments

flpth

Directory in which to create .travis.yml

Value

Logical

Details

Validated outsider modules must have a .travis.yml in their repository. These .travis.yml are created with module_skeleton but can also be generated using this function.

See also

Examples

library(outsider) # a skeleton already comes with a .travis.yml module_path <- module_skeleton(program_name = "goldenhind", repo_user = "drake_on_github", docker_user = "drake_on_docker", service = 'github', flpth = tempdir()) (file.exists(file.path(module_path, '.travis.yml')))
#> [1] TRUE
# but if it were deleted, needs updating or mistakenly edited ... file.remove(file.path(module_path, '.travis.yml'))
#> [1] TRUE
# a new one can generated module_travis(flpth = module_path)
#> Writing '/tmp/RtmpZ3HcqQ/om..goldenhind/.travis.yml'
#> Setting active project to '<no active project>'