forked from r-lib/devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (25 loc) · 827 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
language: r
sudo: false
cache: packages
env:
_R_CHECK_FORCE_SUGGESTS_=false
R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
r:
- 3.2
- 3.3
- oldrel
- release
- devel
# We need to install BiocInstaller for testing Bioconductor packages
bioc_required: true
install:
- git clone --depth 1 https://github.com/r-lib/remotes && R CMD build --no-build-vignettes remotes && R CMD INSTALL remotes*tar.gz && rm -rf remotes remotes*tar.gz
- R -e 'install.packages("curl")' -e 'remotes::install_deps(".", dependencies = TRUE)'
before_cache: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
# Only report coverage for the release version
after_success:
- test $TRAVIS_R_VERSION_STRING = 'release' && Rscript -e 'covr::codecov()'