diff --git a/.travis.yml b/.travis.yml index f8646c624..f25571af7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,12 @@ addons: apt: update: TRUE +before_install: + - 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 + r_packages: - covr