diff --git a/.travis.yml b/.travis.yml index a03b66c..1d46e75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ -language: r -cache: packages - -before_script: - - chmod +x ./_build.sh - - chmod +x ./_deploy.sh +language: R +cache: + packages: true + directories: + - _book script: - - ./_build.sh - - ./_deploy.sh + - Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')" + - Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::pdf_book')"