Skip to content

Commit

Permalink
travis: Add udunits dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
statnmap committed Oct 19, 2018
1 parent dd574e8 commit 8943d42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
language: R
sudo: false
cache: packages

before_install:
- echo "TRAVIS_OS_NAME = $TRAVIS_OS_NAME"
- echo "options(repos = c(CRAN='http://cran.rstudio.com'))" > ~/.Rprofile
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get --yes --force-yes update -qq; fi;
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y; fi;
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --yes libudunits2-dev; fi;
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install udunits; fi;

0 comments on commit 8943d42

Please sign in to comment.