mirror of https://github.com/Syncplay/syncplay
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
environment:
|
|
MINICONDA: "C:\\Miniconda"
|
|
clone_folder: c:\projects\syncplay
|
|
|
|
image:
|
|
- Visual Studio 2013
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
init:
|
|
- set PATH=C:\Miniconda;C:\Miniconda\Scripts;%PATH%
|
|
- cmd: conda create -n syncplay -y
|
|
- cmd: activate syncplay
|
|
- cmd: conda install python pywin32 pyside -y
|
|
- cmd: pip install twisted py2exe_py2 zope.interface
|
|
- cmd: type nul > C:\Miniconda\envs\syncplay\lib\site-packages\zope\__init__.py
|
|
- cmd: pip freeze
|
|
- cmd: conda list
|
|
|
|
install:
|
|
- cmd: cd c:\projects\syncplay
|
|
- cmd: python buildPy2exe.py
|
|
- cmd: del C:\projects\syncplay\syncplay_v1.5.0\lib\DNSAPI.dll
|
|
- cmd: del C:\projects\syncplay\syncplay_v1.5.0\lib\MPR.dll
|
|
- cmd: mkdir C:\projects\syncplay\syncplay_v1.5.0\platforms
|
|
#- cmd: copy C:\Miniconda\envs\syncplay\library\plugins\platforms\qwindows.dll C:\projects\syncplay\syncplay_v1.5.0\platforms\
|
|
|
|
# Not a project with an msbuild file, build done at install.
|
|
build: off
|
|
|
|
artifacts:
|
|
path: 'syncplay_v1.5.0'
|
|
type: zip
|
|
name: Syncplay_win
|
|
|
|
# Push artefact to S3 bucket and list all
|
|
before_deploy:
|
|
- cmd: dir
|
|
#- cmd: python -c "from PySide2 import QtCore; print QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.PluginsPath)"
|
|
|
|
# Deploy build to BinTray
|
|
deploy:
|
|
provider: BinTray
|
|
username: alby128
|
|
api_key:
|
|
secure: lAocj5KA9Z9x4BefQBIgNlQJbeW4qPBfCgYVBHMyOP3NgyhnMLmvR57ZCqtCKBlQ
|
|
subject: alby128
|
|
repo: Syncplay
|
|
package: Syncplay
|
|
version: "1.5.0"
|
|
publish: true
|
|
override: true |