-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,23 +24,22 @@ environment: | |
matrix: | ||
fast_finish: true | ||
|
||
|
||
install: | ||
# Install Python 3.9 for max and linux | ||
- sh: | | ||
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then | ||
sudo add-apt-repository ppa:deadsnakes/ppa -y | ||
sudo apt-get update | ||
sudo apt-get install -y python3.9 python3.9-venv python3.9-dev python3-pip | ||
python3.9 -m pip install --upgrade pip | ||
which python3.9 | ||
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 | ||
sudo update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 1 | ||
elif [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS" ]]; then | ||
brew install [email protected] | ||
ln -s /usr/local/opt/[email protected]/bin/python3.9 /usr/local/bin/python3 | ||
ln -s /usr/local/opt/[email protected]/bin/pip3.9 /usr/local/bin/pip3 | ||
fi | ||
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then | ||
sudo add-apt-repository ppa:deadsnakes/ppa -y | ||
sudo apt-get update | ||
sudo apt-get install -y python3.9 python3.9-venv python3.9-dev python3-pip | ||
python3.9 -m pip install --upgrade pip | ||
which python3.9 | ||
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 | ||
sudo update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 1 | ||
elif [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS" ]]; then | ||
brew install [email protected] | ||
ln -s /usr/local/opt/[email protected]/bin/python3.9 /usr/local/bin/python3 | ||
ln -s /usr/local/opt/[email protected]/bin/pip3.9 /usr/local/bin/pip3 | ||
fi | ||
- sh: | | ||
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then | ||
|