Skip to content

Commit

Permalink
travis deploy of the pkgdown website
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Dec 10, 2018
1 parent 5990053 commit b513ab6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,22 @@
language: R
sudo: false
cache: packages


before_deploy:
- Rscript -e 'remotes::install_github("lockedatapublished/lockedatapkg")'
- Rscript -e 'install.packages("pkgdown")'


deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: true

after_success:
- Rscript -e 'covr::coveralls()'
- Rscript -e 'library(covr);coveralls(coverage = print(package_coverage(quiet = FALSE)))'

stages:
- name: deploy
# require the branch name to be master (note for PRs this is the base branch name)
if: branch = master

0 comments on commit b513ab6

Please sign in to comment.