r4ds/.travis.yml

23 lines
332 B
YAML
Raw Normal View History

2016-02-11 23:39:22 +08:00
language: R
cache:
2016-02-12 00:44:49 +08:00
packages: true
directories:
2016-03-09 21:49:59 +08:00
- _book
2015-07-28 05:52:19 +08:00
2015-11-10 21:50:20 +08:00
addons:
apt:
packages:
- libxml2-dev
2015-07-28 05:52:19 +08:00
2018-10-24 19:52:51 +08:00
before_install:
2018-10-25 00:48:00 +08:00
- nvm install stable
2018-10-24 19:52:51 +08:00
- npm install netlify-cli -g
2016-04-21 21:37:38 +08:00
script:
- Rscript -e 'bookdown::render_book("index.rmd")'
2015-11-11 00:44:33 +08:00
2016-03-04 23:45:44 +08:00
deploy:
2018-10-24 19:52:51 +08:00
provider: script
2018-10-25 00:22:01 +08:00
script: netlify deploy --prod --dir _book
2016-03-04 23:45:44 +08:00
skip_cleanup: true