Skip to content

Commit cf3da74

Browse files
backport .travis.yml
1 parent d2a5a8c commit cf3da74

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@ dist: trusty
77
matrix:
88
include:
99
- r: devel
10+
# avoind errors due to world clock API (hopefully can be removed in future)
11+
env: _R_CHECK_SYSTEM_CLOCK_=false
1012
- r: release
11-
env: USE_VDIFFR=true
12-
r_github_packages: lionel-/vdiffr
13+
env: VDIFFR_RUN_TESTS=true
14+
before_cache:
15+
- Rscript -e 'remotes::install_cran("pkgdown")'
16+
- Rscript -e 'remotes::install_github("tidyverse/tidytemplate")'
17+
deploy:
18+
provider: script
19+
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
20+
skip_cleanup: true
1321
- r: oldrel
1422
- r: 3.2
1523
env: R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
@@ -22,7 +30,7 @@ env:
2230
# don't treat missing suggested packages as error
2331
- _R_CHECK_FORCE_SUGGESTS_=false
2432
# switch off vdiffr by default
25-
- USE_VDIFFR=false
33+
- VDIFFR_RUN_TESTS=false
2634

2735
after_success:
2836
- Rscript -e 'covr::codecov()'

0 commit comments

Comments
 (0)