Skip to content

Commit

Permalink
tweak travis osx install cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyhanson committed Oct 14, 2020
1 parent 050b596 commit 14322c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get autoremove --purge; fi;
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get --purge remove tex.\*-doc$; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo Rscript -e "install.packages('tinytex');tinytex::install_tinytex()"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install pkg-config || echo "fail"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew upgrade pkg-config || echo "fail"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install gdal || echo "fail"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew upgrade gdal || echo "fail"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then Rscript -e "install.packages(c('rgdal','rgeos','RandomFieldsUtils','RandomFields','adehabitatHR','BH','doParallel','gdalUtils','ggplot2', 'hypervolume','ks','mvtnorm','PBSmapping','plyr','raster','RColorBrewer','RcppEigen','RgoogleMaps','scales','shape','rgl'))"; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then Rscript -e "install.packages(c('rgdal','rgeos','RandomFieldsUtils','RandomFields','adehabitatHR','BH','doParallel','gdalUtils','ggplot2', 'hypervolume','ks','mvtnorm','PBSmapping','plyr','raster','RColorBrewer','RcppEigen','RgoogleMaps','scales','shape','rgl'),type='binary')"; fi;

after_success:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then Rscript -e 'covr::codecov()'; fi;
Expand Down

0 comments on commit 14322c7

Please sign in to comment.