Added first attempt of CI settings

This commit is contained in:
Manuel Cortez 2018-12-28 20:07:56 -06:00
parent c549ba9e87
commit 60c403f722

24
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,24 @@
variables:
PYTHON3: "C:\python37\python.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
- $PYTHON3 -m 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