Docker experiments back

This commit is contained in:
Manuel Cortez 2020-07-19 07:10:55 -05:00
parent 841df99d61
commit c9b85f31f7

View File

@ -3,6 +3,9 @@ variables:
PYTHON3_64: "C:\\python38-64\\python.exe"
NSIS: "C:\\nsis\\makensis.exe"
default:
image: python:3.8.4-windowsservercore
### Stage list
# Build: This will be the main stage generating stuff in the dist folder. Jobs present in this stage will run py2exe or pyinstaller files accordingly.
# pack: Jobs in this stage will take the dist folder and zip it or generate an exe file.
@ -15,9 +18,12 @@ stages:
tags:
- windows10
before_script:
- '&$env:PYTHON3_32 -V'
- '&$env:PYTHON3_32 -m venv env'
- 'env\scripts\activate'
- 'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/Git-2.27.0-32-bit.exe" -OutFile "git_setup.exe"'
- '.\git_setup.exe /verysilent /dir=git'
- '$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";C:\git\bin" + [System.Environment]::GetEnvironmentVariable("Path","User") '
- 'python -V'
# - '&$env:PYTHON3_32 -m venv env'
# - 'env\scripts\activate'
- 'python -m pip install --upgrade pip'
- 'python -m pip install --upgrade -r requirements.txt'