Moved travis_wait to work hopefully

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2021-11-04 13:05:26 +01:00
parent cd3d436384
commit dce208e36d
No known key found for this signature in database
GPG key ID: D850A5F772E880F9
2 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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