diff --git a/.travis.yml b/.travis.yml index ed9620fb..a6f55a87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,15 @@ python: - "3.7" before_install: - # - sudo apt-get install -y r-base - - sudo apt-get install -y r-base-dev - # - sudo apt-get install gfortran + # Install Linuxbrew + - git clone https://github.com/Linuxbrew/brew.git $HOME/.linuxbrew + - PATH="$HOME/.linuxbrew/bin:$PATH" + - echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile + - export MANPATH="$(brew --prefix)/share/man:$MANPATH" + - export INFOPATH="$(brew --prefix)/share/info:$INFOPATH" + - brew --version + - brew install r + - brew install pandoc - sudo chmod ugo+rw /usr/local/lib/R/site-library - R -e 'install.packages(c( "rmarkdown"), repos = "http://cran.us.r-project.org")'