Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuanchao-Xu committed Oct 28, 2019
1 parent 1e0771e commit b77e6d9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Sample .travis.yml for R projects

language: r
r:
- data.table
warnings_are_errors: true
sudo: required
dist: precise
Expand All @@ -9,7 +11,11 @@ env:
global:
- NOT_CRAN = true
before_install:
echo "options(repos = c(CRAN='https://cran.rstudio.com'))" > ~/.Rprofile
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm &&
export PATH="/usr/local/opt/llvm/bin:$PATH" &&
export LDFLAGS="-L/usr/local/opt/llvm/lib" &&
export CFLAGS="-I/usr/local/opt/llvm/include"; fi
# echo "options(repos = c(CRAN='https://cran.rstudio.com'))" > ~/.Rprofile
# - sudo apt-get autoclean
# - sudo aptitude install libgdal-dev
apt_packages:
Expand Down

0 comments on commit b77e6d9

Please sign in to comment.