From 31be0b4a75ad37e0f96693bba3b08d99b76b0038 Mon Sep 17 00:00:00 2001 From: JulioV Date: Fri, 10 Jul 2020 14:56:23 -0400 Subject: [PATCH] Force gcc 9 and no update brew --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f1889a6e..d02a821f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,8 +33,9 @@ jobs: osx_image: xcode11.3 # Python 3.7 running on macOS 10.14.4 language: generic # 'language: python' is an error on Travis CI macOS before_install: - - brew install gcc@9 - - brew install https://github.com/Homebrew/homebrew-core/raw/218998d/Formula/r.rb + - brew link --overwrite gcc@9 + - ls /usr/local/opt/gcc/lib/gcc + - brew install https://github.com/Homebrew/homebrew-core/raw/d381cc8/Formula/r.rb - R --version - brew install mysql - brew services start mysql @@ -43,6 +44,7 @@ jobs: env: - RENV_PATHS_ROOT="$HOME/renv/cache" + - HOMEBREW_NO_AUTO_UPDATE=1 cache: directories: - /usr/local/lib/R