# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r language: R r: bioc-devel sudo: false cache: packages r_binary_packages: - stringr - dplyr - igraph - RCurl - XML - git2r - magick warnings_are_errors: false env: - R_REMOTES_UPGRADE="always" before_install: - mkdir -p ~/.R - echo -e 'MAKEFLAGS = -j2' > ~/.R/Makevars - echo 'options(Ncpus = 2)' > ~/.Rprofile r_build_args: "--no-manual --no-resave-data" r_check_args: "--no-build-vignettes --no-manual --timings" r_packages: - covr - BiocManager r_github_packages: mikelove/macrophage after_success: - Rscript -e 'library(covr); codecov()' before_cache: Rscript -e 'remotes::install_cran("pkgdown")' deploy: provider: script script: Rscript -e 'pkgdown::deploy_site_github()' skip_cleanup: true on: branch: master