Correct Travis script to explicitely install python2

This commit is contained in:
albertosottile 2018-03-03 15:08:49 +01:00
parent 38c1de56b9
commit dcd82d9db4
1 changed files with 2 additions and 1 deletions

View File

@ -10,13 +10,14 @@ script:
before_install: before_install:
- brew update - brew update
- brew install python - brew install python@2
- brew tap cartr/qt4 - brew tap cartr/qt4
- brew tap-pin cartr/qt4 - brew tap-pin cartr/qt4
- brew install pyside - brew install pyside
install: install:
#- export PATH=/usr/local/bin:$PATH #- export PATH=/usr/local/bin:$PATH
- export PATH="/usr/local/opt/python@2/bin:$PATH"
- export QT_PREFERRED_BINDING="PySide" - export QT_PREFERRED_BINDING="PySide"
- pip2 install twisted appnope pyobjc py2app - pip2 install twisted appnope pyobjc py2app