From dce208e36d9b801ebbf63a6c19683994053c5997 Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Thu, 4 Nov 2021 13:05:26 +0100 Subject: [PATCH] Moved travis_wait to work hopefully Signed-off-by: TheJackiMonster --- .travis.yml | 2 +- package/prepare_osx.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 995f028..dac33a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ os: osx_image: xcode11 sudo: required install: -- if [ "$TRAVIS_OS_NAME" = "osx" ]; then package/prepare_osx.sh; fi +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then travis_wait package/prepare_osx.sh; fi - if [ "$TRAVIS_OS_NAME" = "linux" ]; then package/prepare_linux.sh; fi script: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then python3 -B -m pytest -vs; fi diff --git a/package/prepare_osx.sh b/package/prepare_osx.sh index 4527d58..bc58ff9 100755 --- a/package/prepare_osx.sh +++ b/package/prepare_osx.sh @@ -1,9 +1,6 @@ #!/bin/bash set -ev # display each line executed along with output - -# `travis_wait` is to ensure the build in the CI does not time out after 10 minutes without output: -# (remove `travis_wait` to run this script locally or alias it as short forwarding of commands) -travis_wait brew update +brew update # Upgrade to python 3.x brew upgrade python