Correct Travis script to explicitely install python2

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

View File

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