1branches: 2 only: 3 - master 4 5environment: 6 MINICONDA: "C:\\Miniconda" 7 PYTHON: "C:\\Python36" 8 PYTHON_VERSION: 3.6 9 PYTHON_ARCH: 32 10 11platform: x86 12 13configuration: Release 14 15init: 16 - set PYTHONPATH=%PYTHON% 17 - set PYTHONHOME=%PYTHON% 18 - set PATH=%PYTHON%\Scripts;%PYTHON%;C:\Program Files (x86)\NSIS;%PATH% 19 - python --version 20 - python -m pip install -U pip setuptools wheel 21 - pip install -U pypiwin32==223 22 - pip install twisted[tls] certifi 23 - pip install zope.interface 24 - type nul > %PYTHON%\lib\site-packages\zope\__init__.py 25 - curl -L https://bintray.com/alby128/py2exe/download_file?file_path=py2exe-0.9.3.0-cp36-none-win32.whl -o py2exe-0.9.3.0-cp36-none-win32.whl 26 - pip install py2exe-0.9.3.0-cp36-none-win32.whl 27 - del py2exe-0.9.3.0-cp36-none-win32.whl 28 - pip install shiboken2==5.12.3 PySide2==5.12.3 29 - pip freeze 30 31install: 32 - cd %APPVEYOR_BUILD_FOLDER% 33 - for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a 34 - python buildPy2exe.py 35 - type nul > syncplay_v%ver%\syncplay.ini 36 37# Not a project with an msbuild file, build done at install. 38build: off 39 40artifacts: 41 - path: 'syncplay_v$(ver)' 42 type: zip 43 name: Syncplay_$(ver)_Portable 44 45 - path: Syncplay-$(ver)-Setup.exe 46 name: Syncplay-$(ver)-Setup 47 48# Push artefact to S3 bucket and list all 49before_deploy: 50 - dir 51 #- python -c "from PySide2 import QtCore; print QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.PluginsPath)" 52 53 54# Deploy build to BinTray 55deploy: 56 provider: BinTray 57 username: etoh 58 api_key: 59 secure: TfwB161OlDOcAz5nnmjtNjDmJw2KyCz/uB1KzN4r5/9AL3uczWNuY+k6qVGaRvOP 60 repo: Syncplay 61 package: Syncplay 62 subject: syncplay 63 version: v$(ver) 64 publish: true 65 override: true 66