music-dl/.gitlab-ci.yml

26 lines
579 B
YAML
Raw Normal View History

2018-12-28 20:07:56 -06:00
variables:
2018-12-28 20:14:09 -06:00
PYTHON3: "C:\\python37\\python.exe"
2018-12-28 20:59:44 -06:00
PYINSTALLER: "C:\\python37\\scripts\\pyinstaller.exe"
2018-12-28 20:14:09 -06:00
PYTHON2: "C:\\python27\\python.ex3"
2018-12-28 20:07:56 -06:00
alpha:
type: deploy
tags:
- windows
script:
2018-12-28 20:48:39 -06:00
- '%PYTHON3% -m pip install --upgrade pip'
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
2018-12-28 20:07:56 -06:00
- cd src
2018-12-28 20:59:44 -06:00
- '%PYINSTALLER% main.spec'
2018-12-28 20:07:56 -06:00
- cd ..
- cd scripts
2018-12-28 20:48:39 -06:00
- '%PYTHON3% prepare_zipversion.py'
2018-12-28 20:07:56 -06:00
- cd ..
- move src\music_dl.zip music_dl.zip
only:
- master
artifacts:
paths:
- music_dl.zip
name: music_dl
expire_in: 1 week