-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
14 lines (11 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
language: r
matrix:
include:
- os: osx
sudo: required
- os: linux
sudo: required
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then R CMD javareconf && R -e "install.packages('rJava', type='source')" && R -e "install.packages(c('devtools', 'XML', 'testthat', 'ggplot2', 'reshape2', 'plyr', 'stringr', 'tm', 'openNLP', 'NLP', 'lda', 'apcluster', 'ggdendro', 'FactoMineR', 'gridExtra', 'data.table', 'snowfall', 'slam', 'igraph', 'snow'), repos = 'http://cran.rstudio.com/')" ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y && sudo apt-get install r-cran-xml r-cran-devtools libgsl0-dev -y && R -e "install.packages(c('testthat', 'ggplot2', 'reshape2', 'plyr', 'stringr', 'tm', 'openNLP', 'NLP', 'lda', 'apcluster', 'ggdendro', 'FactoMineR', 'gridExtra', 'data.table', 'snowfall', 'slam', 'igraph', 'snow'))"; fi
warnings_are_errors: false