diff --git a/.travis.yml b/.travis.yml index 688c64a0..bd90d88e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,24 @@ # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r language: r + r: - oldrel - release - devel + +env: + global: + - LINTR_COMMENT_BOT=false + sudo: false + warnings_are_errors: false # set to true: This option forces all WARNINGS from R CMD check # to become build failures (default true). This is especially helpful when preparing # your package for submission to CRAN + cache: packages + after_success: # code coverage but exclude all SOILWAT2 submodule files in scr/ - Rscript -e 'covr::coveralls(line_exclusions = as.list(file.path("src", list.files("src", recursive = TRUE))))'