From 5a8e995c60b2e9ebd92c89f72bb522c75f903382 Mon Sep 17 00:00:00 2001 From: JulioV Date: Fri, 10 Jul 2020 15:35:12 -0400 Subject: [PATCH] Clean up travis file --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b80b40b5..21c79719 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,14 +33,14 @@ 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: - - HOMEBREW_NO_AUTO_UPDATE=1 brew link --overwrite gcc@9 - - ls /usr/local/opt/gcc/lib/gcc - - HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/Homebrew/homebrew-core/raw/218998d/Formula/r.rb + - HOMEBREW_NO_AUTO_UPDATE=1 brew install gcc@9 + - HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/Homebrew/homebrew-core/raw/218998d/Formula/r.rb # R 4.0.0 - R --version - HOMEBREW_NO_AUTO_UPDATE=1 brew install mysql - HOMEBREW_NO_AUTO_UPDATE=1 brew services start mysql - HOMEBREW_NO_AUTO_UPDATE=1 brew cask install miniconda - eval "$(/opt/miniconda3/condabin/conda shell.bash hook)" + - eval "$(conda shell.bash hook)" # properly initialise non-interactive shell with gcc and no update brew env: - RENV_PATHS_ROOT="$HOME/renv/cache" @@ -51,7 +51,6 @@ jobs: - $TRAVIS_BUILD_DIR/renv/library install: - - eval "$(conda shell.bash hook)" # properly initialise non-interactive shell - conda init bash - conda update -q --all --yes conda - conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION --file environment.yml