Install pandoc from RStudio
This commit is contained in:
parent
11b6e82852
commit
259806d04d
12
.travis.yml
12
.travis.yml
|
@ -22,7 +22,19 @@ cache:
|
|||
- $HOME/.ccache
|
||||
|
||||
install:
|
||||
# Install binary pandoc from Rstudio
|
||||
- export PATH="$HOME/pandoc:$PATH"
|
||||
- mkdir $HOME/pandoc
|
||||
- curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
|
||||
- unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc
|
||||
-d $HOME/pandoc
|
||||
- chmod +x $HOME/pandoc/pandoc
|
||||
- pandoc --version
|
||||
|
||||
# Install ruby gems
|
||||
- bundle install --jobs=3 --retry=3
|
||||
|
||||
# Install R packages
|
||||
- mkdir -p "$R_LIBS_USER"
|
||||
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "http://cran.rstudio.com") }'
|
||||
- Rscript -e 'devtools::install_github("hadley/devtools")'
|
||||
|
|
Loading…
Reference in New Issue