From 18cbce86b20750ebf533e531a720dc7bf774fd3b Mon Sep 17 00:00:00 2001 From: RJ Skerry-Ryan Date: Sat, 21 Apr 2018 23:08:57 -0700 Subject: Workaround for travis-ci/travis-ci#6307. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 7a828c0a55..81df7ccccb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,9 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0 ; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + # Homebrew uses Python 3 now, and portmidi depends on Python 2 which triggers this bug: + # https://github.com/Homebrew/homebrew-core/issues/26358 + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install scons portaudio libsndfile libogg libvorbis portmidi taglib libshout protobuf flac ffmpeg qt chromaprint rubberband fftw libmodplug libid3tag libmad mp4v2 faad2 wavpack opusfile; fi install: -- cgit v1.2.3