Skip to content

Commit

Permalink
Try to build MacOS 10.9+ images, rather than 10.13+.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Aug 17, 2019
1 parent d26cf01 commit 451ad8e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
42 changes: 29 additions & 13 deletions .ci/azure-deploy-awkward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ jobs:
python.version: "2.7"
python.architecture: "x64"
numpy.version: "latest"
"py34":
python.version: "3.4"
python.architecture: "x64"
numpy.version: "latest"
"py35":
python.version: "3.5"
python.architecture: "x64"
numpy.version: "latest"
"py36":
python.version: "3.6"
python.architecture: "x64"
Expand All @@ -169,15 +161,39 @@ jobs:
secureFile: pivarski-pypirc
displayName: "Credentials"

- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: '$(python.architecture)'
- script: |
case $(python.version) in
2.7)
FULL_VERSION=2.7.16
;;
3.6)
FULL_VERSION=3.6.8
;;
3.7)
FULL_VERSION=3.7.3
;;
esac
INSTALLER_NAME=python-$FULL_VERSION-macosx10.9.pkg
URL=https://www.python.org/ftp/python/$FULL_VERSION/$INSTALLER_NAME
PY_PREFIX=/Library/Frameworks/Python.framework/Versions
set -e -x
curl $URL > $INSTALLER_NAME
sudo installer -pkg $INSTALLER_NAME -target /
sudo rm /usr/local/bin/python
sudo ln -s /usr/local/bin/python$PYTHON_VERSION /usr/local/bin/python
displayName: 'Python $(python.version)'
- script: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install twine wheel
python -m pip install setuptools twine wheel
displayName: "Install"
- script: |
Expand Down
2 changes: 1 addition & 1 deletion VERSION_INFO
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.12
0.0.13

0 comments on commit 451ad8e

Please sign in to comment.