diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73861a1..cfa73db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,23 +86,31 @@ stable: type: deploy tags: - windows + before_script: + - '%PYTHON3% -v' + - '%PYTHON3% -m pip install --upgrade pip' + - '%PYTHON3% -m pip install --upgrade -r requirements.txt' + - '%PYTHON3% -m pip install --upgrade pyenchant pypubsub' + - '%PYTHON3% -m pip uninstall enum34 -y' script: - - pip install --upgrade pip - - pip install --upgrade -r requirements.txt - copy changelog.md doc\changelog.md - cd doc - - python documentation_importer.py + - '%PYTHON2% documentation_importer.py' - cd ..\src - - python ..\doc\generator.py - - python setup.py py2exe + - '%PYTHON2% ..\doc\generator.py' + - '%PYTHON3% write_version_data.py' + - '%PYINSTALLER% main.spec' + - '%NSIS% installer.nsi' - cd .. + - move src\socializer* . - cd scripts - - python prepare_zipversion.py + - '%PYTHON3% prepare_zipversion.py' - cd .. - move src\socializer.zip socializer.zip only: - - tags + - master artifacts: paths: - socializer.zip + - "socializer_*" name: socializer \ No newline at end of file