From 1569db4c516f0a3be082c3cff03c1246ff1c1457 Mon Sep 17 00:00:00 2001 From: Cyril Bouvier Date: Fri, 6 Nov 2020 09:15:20 +0100 Subject: [PATCH 1/2] CI: fix homebrew commands --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index afbc1af47..67e55ab7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,8 +82,9 @@ matrix: compiler: clang before_install: - brew update - - brew uninstall automake && brew install automake - - brew install autoconf libtool + - brew list automake &>/dev/null || brew install automake + - brew list autoconf &>/dev/null || brew install autoconf + - brew list libtool &>/dev/null || brew install libtool # - brew install homebrew/science/openblas install: From de0f486db83eb11082ccb552e76579558b1aa0bd Mon Sep 17 00:00:00 2001 From: Cyril Bouvier Date: Fri, 6 Nov 2020 16:12:44 +0100 Subject: [PATCH 2/2] CI on OSX: try to reduce verbosity as it cause job error on Travis: Error message: The job exceeded the maximum log length, and has been terminated. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 67e55ab7d..9f9df3f98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,7 @@ matrix: - os: osx compiler: clang before_install: - - brew update + - brew update > brew-update.log 2>&1 || cat brew-update.log - brew list automake &>/dev/null || brew install automake - brew list autoconf &>/dev/null || brew install autoconf - brew list libtool &>/dev/null || brew install libtool