forked from ThinkR-open/thinkr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 831 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
cache: packages
r_github_packages:
- ThinkR-open/thinkr # pre-install to avoid vignette package errors
# build matrix; turn on vdiffr only on r release
matrix:
include:
- r: devel
- r: release
env: VDIFFR_RUN_TESTS=true
before_cache:
- Rscript -e 'remotes::install_cran("pkgdown")'
- Rscript -e 'remotes::install_github("ThinkR-open/thinkrtemplate")'
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_PAT
keep-history: true
local-dir: docs
on:
branch: master
skip_cleanup: true
- r: oldrel
env: R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
after_success:
- Rscript -e 'covr::codecov()'
- Rscript -e 'pkgdown::build_site()'