From 2804a7dbadc9ad08524d0ef8569d7c7a2695e260 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 21 Feb 2020 22:15:35 +0100 Subject: [PATCH] hopefully fixes travis for OSX --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eba0c5d99..5aee2a918 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,6 @@ addons: - libsndfile1-dev homebrew: packages: - - python3 - readline - libsndfile - qt5 @@ -45,6 +44,14 @@ addons: # update trick to fix https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/14 update: true +before_install: + # bug? + # homebrew update replaced python2.7 by python3.7 but + # python3 link failed while python@2 still present, so let's do it again: + if [ "$TRAVIS_OS_NAME" == "osx" ]; then + brew link --overwrite python; + fi + install: if ! arm-none-eabi-gcc -v; then echo "arm-none-eabi-gcc [ERROR]";