From 60c403f7229ed12125058af39bd3eeabf73bd59c Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 28 Dec 2018 20:07:56 -0600 Subject: [PATCH] Added first attempt of CI settings --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..071c502 --- /dev/null +++ b/.gitlab-ci.yml @@ -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