Creates a .travis.yml build file with additional entries for codecov.

pkg_travis(pkg_root, add = NULL, msg = ".travis.yml file path:")

Arguments

pkg_root

Character string. Package root directory.

add

Character string. Entries to the .travis.yml in addition to the boilerplate example.

msg

Character string. Optional message. If supplied, prints msg dir/fn.

Details

Note that if pkg_create() is used, this function will be called.

THIS FUNCTION OVERWRITES AN EXISTING .travis.yml FILE IN THE SPECIFIED PACKAGE ROOT DIRECTORY. USE WITH CAUTION.

Author

Ivan Jacob Agaloos Pesigan

Examples

if (FALSE) { pkg_travis( pkg_root = "~/boilerplatePackage" ) }