Updated CI stuff to build an installer

This commit is contained in:
Manuel Cortez 2019-01-17 16:22:49 -06:00
parent 8b0070efd4
commit 0994743fd8

View File

@ -3,6 +3,7 @@ variables:
PYTHON3: "C:\\python37\\python.exe" PYTHON3: "C:\\python37\\python.exe"
PYINSTALLER: "C:\\python37\\scripts\\pyinstaller.exe" PYINSTALLER: "C:\\python37\\scripts\\pyinstaller.exe"
PYTHON2: "C:\\python27\\python.exe" PYTHON2: "C:\\python27\\python.exe"
NSIS: "C:\\nsis\\makensis.exe"
test_py3: test_py3:
stage: test stage: test
@ -65,7 +66,9 @@ alpha_python3:
- '%PYTHON2% ..\doc\generator.py' - '%PYTHON2% ..\doc\generator.py'
- '%PYTHON3% write_version_data.py' - '%PYTHON3% write_version_data.py'
- '%PYINSTALLER% main.spec' - '%PYINSTALLER% main.spec'
- '%NSIS% installer.nsi'
- cd .. - cd ..
- move src\socializer* .
- cd scripts - cd scripts
- '%PYTHON3% prepare_zipversion.py' - '%PYTHON3% prepare_zipversion.py'
- cd .. - cd ..
@ -75,6 +78,7 @@ alpha_python3:
artifacts: artifacts:
paths: paths:
- socializer.zip - socializer.zip
- "socializer_*"
name: socializer_py3 name: socializer_py3
expire_in: 1 day expire_in: 1 day