socializer/.gitlab-ci.yml

33 lines
745 B
YAML
Raw Normal View History

2021-01-05 20:22:37 +01:00
variables:
PYTHON3_32: "C:\\python39\\python.exe"
#PYTHON3_64: "C:\\python37-64\\python.exe"
#NSIS: "C:\\nsis\\makensis.exe"
2021-01-05 20:08:38 +01:00
.shared_windows_runners:
tags:
2021-01-05 20:08:38 +01:00
- shared-windows
- windows
- windows-1809
2019-12-10 16:56:40 +01:00
2021-01-05 20:08:38 +01:00
stages:
- build
- test
2019-05-07 17:29:15 +02:00
2021-01-05 20:08:38 +01:00
before_script:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time}
- echo "started by ${GITLAB_USER_NAME}"
- choco install python3-x86_32 nsis -y
2021-01-05 20:22:37 +01:00
- refreshenv
- '&$env:PYTHON3_32 -V'
- '&$env:PYTHON3_32 -m pip install --upgrade pip'
- '&$env:PYTHON3_32 -m pip install --upgrade -r requirements.txt'
- '&$env:PYTHON3_32 -m pip uninstall enum34 -y'
2019-11-20 00:41:29 +01:00
2021-01-05 20:08:38 +01:00
test:
extends:
- .shared_windows_runners
stage: test
2018-12-16 14:23:45 +01:00
script:
2021-01-05 20:08:38 +01:00
- echo "running scripts in the test job"
- python -V