music-dl/.gitlab-ci.yml

26 lines
579 B
YAML

variables:
PYTHON3: "C:\\python37\\python.exe"
PYINSTALLER: "C:\\python37\\scripts\\pyinstaller.exe"
PYTHON2: "C:\\python27\\python.ex3"
alpha:
type: deploy
tags:
- windows
script:
- '%PYTHON3% -m pip install --upgrade pip'
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
- cd src
- '%PYINSTALLER% main.spec'
- cd ..
- cd scripts
- '%PYTHON3% prepare_zipversion.py'
- cd ..
- move src\music_dl.zip music_dl.zip
only:
- master
artifacts:
paths:
- music_dl.zip
name: music_dl
expire_in: 1 week