Attempt to use python 3.8.7 for windows 7 compatibility

This commit is contained in:
Manuel Cortez 2021-01-15 09:01:23 -06:00
parent 996b0d1b15
commit 79c0ea2225

View File

@ -1,7 +1,7 @@
# This CI configuration file assumes we are going to use gitlab Shared runners at gitlab.com
# the next variables are customized to the filepaths used when installing python and nsis with chocolatey.
variables:
PYTHON3_32: "C:\\python39\\python.exe"
PYTHON3_32: "C:\\python38\\python.exe"
NSIS: "C:\\program files (x86)\\nsis\\makensis.exe"
# This configures the environment for both channels
@ -14,7 +14,8 @@ variables:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time}
- echo "started by ${GITLAB_USER_NAME}"
- choco install python3 nsis -y -ForceX86
- choco install python --version 3.8.7 -y -ForceX86
- choco install nsis -y -ForceX86
- '&$env:PYTHON3_32 -V'
- '&$env:PYTHON3_32 -m pip install --upgrade pip'
- '&$env:PYTHON3_32 -m pip install --upgrade -r requirements.txt'
@ -105,7 +106,7 @@ alpha32:
- cd ..
- move src\socializer.zip socializer_x86_alpha.zip
- '&$env:PYTHON3_32 scripts/generate_update_file.py'
- '&$env:PYTHON3_32 scripts/upload.py'
- '&$env:PYTHON3_32 scripts/upload.py $FTP_SERVER $FTP_USERNAME $FTP_PASSWORD'
only:
- master