forked from rstudio/rmarkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (35 loc) · 915 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
34
35
36
37
38
dist: bionic
language: r
cache:
packages: yes
directories:
- "$PANDOC"
pandoc_version: 2.7.3
cran: https://cran.rstudio.com
env:
global:
- _R_CHECK_TESTS_NLINES_=0
before_install:
- pandoc --version
jobs:
include:
- r: 3.3
- r: 3.4
- r: 3.5
- r: 3.6
- r: release
name: R release / Pandoc devel
env: PATH=$HOME/bin:$PATH
before_install:
- ./tools/install-pandoc.sh || true
- pandoc --version
- r: release
name: R release / RStudio Pandoc
env: NETLIFY_SITE_ID=5d77c13c-e2ee-4a31-87ca-2fe657196160
after_success:
- "[[ ${TRAVIS_BRANCH} = master ]] || exit 0"
- "[[ -z ${NETLIFY_AUTH_TOKEN} ]] && exit 0"
- nvm install stable
- npm install netlify-cli -g
- Rscript -e 'pkgdown::build_site(".", document = FALSE, preview = FALSE)' && netlify deploy --prod --dir docs
- r: devel