forked from r-lib/pkgdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (38 loc) · 1.09 KB
/
.travis.yml
File metadata and controls
41 lines (38 loc) · 1.09 KB
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
34
35
36
37
38
39
40
41
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
cache: packages
matrix:
include:
- r: devel
env: _R_CHECK_LENGTH_1_LOGIC2_=true
- r: release
after_success:
- Rscript -e 'covr::codecov()'
before_deploy:
- R CMD INSTALL .
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
skip_cleanup: true
- r: release
pandoc: false
env: PANDOC='none'
- r: release
os: osx
osx_image: xcode7.3 # CRAN: El Capitan
pandoc: false
before_install:
- curl -fLo /tmp/pandoc-1.12-1.dmg https://github.com/jgm/pandoc/releases/download/1.12/pandoc-1.12-1.dmg
- sudo hdiutil attach /tmp/pandoc-1.12-1.dmg -mountpoint /Volumes/pandoc
- sudo installer -pkg "/Volumes/pandoc/pandoc-1.12.pkg" -allowUntrusted -target /
- sudo hdiutil detach /Volumes/pandoc
- sed -i.bak 's/-isysroot /-I/g' $(R RHOME)/etc/Makeconf
env: PANDOC='mac-cran'
latex: false
- r: oldrel
- r: 3.3
- r: 3.2
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=FALSE