Skip to content

Commit

Permalink
Install pkgdown and tidytemplate in release build only
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Mar 25, 2019
1 parent c17e709 commit 8654a5f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Expand Up @@ -6,17 +6,15 @@ language: r
sudo: false
cache: packages

r_github_packages:
- r-lib/pkgdown
- tidyverse/tidytemplate

matrix:
include:
- r: devel
- r: release
after_success:
- Rscript -e 'covr::codecov()'

before_cache:
- Rscript -e 'remotes::install_cran("pkgdown")'
- Rscript -e 'remotes::install_github("tidyverse/tidytemplate")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE, run_dont_run = TRUE)'
Expand Down

0 comments on commit 8654a5f

Please sign in to comment.