From dcd82d9db438ff545751a347e032550bc2c9537d Mon Sep 17 00:00:00 2001 From: albertosottile Date: Sat, 3 Mar 2018 15:08:49 +0100 Subject: [PATCH] Correct Travis script to explicitely install python2 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d4477e0..0d78a87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,13 +10,14 @@ script: before_install: - brew update -- brew install python +- brew install python@2 - brew tap cartr/qt4 - brew tap-pin cartr/qt4 - brew install pyside install: #- export PATH=/usr/local/bin:$PATH +- export PATH="/usr/local/opt/python@2/bin:$PATH" - export QT_PREFERRED_BINDING="PySide" - pip2 install twisted appnope pyobjc py2app