1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

macOS: Update travis to python 3.9

This commit is contained in:
Juhani Numminen 2020-10-12 22:22:09 +03:00
parent 451700aefa
commit 7255ad9e68

View file

@ -24,8 +24,8 @@ before_install:
mv PySolFC-Cardsets--Minimal-2.0/cardset-* data ; mv PySolFC-Cardsets--Minimal-2.0/cardset-* data ;
fi fi
- if test "$TRAVIS_OS_NAME" = "osx" ; then - if test "$TRAVIS_OS_NAME" = "osx" ; then
PYVER=3.8.2 && PYVER=3.9.0 &&
PYVER_SHORT=3.8 && PYVER_SHORT=3.9 &&
wget -O python.pkg "https://www.python.org/ftp/python/${PYVER}/python-${PYVER}-macosx10.9.pkg" && wget -O python.pkg "https://www.python.org/ftp/python/${PYVER}/python-${PYVER}-macosx10.9.pkg" &&
sudo installer -pkg python.pkg -target / && sudo installer -pkg python.pkg -target / &&
export PATH="/Library/Frameworks/Python.framework/Versions/${PYVER_SHORT}/bin:${PATH}" ; export PATH="/Library/Frameworks/Python.framework/Versions/${PYVER_SHORT}/bin:${PATH}" ;