mirror of https://github.com/Syncplay/syncplay
55 lines
1.5 KiB
YAML
55 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.1\lib\DNSAPI.dll
|
||
|
- cmd: del C:\projects\syncplay\syncplay_v1.5.1\lib\MPR.dll
|
||
|
- cmd: mkdir C:\projects\syncplay\syncplay_v1.5.1\platforms
|
||
|
#- cmd: copy C:\Miniconda\envs\syncplay\library\plugins\platforms\qwindows.dll C:\projects\syncplay\syncplay_v1.5.1\platforms\
|
||
|
|
||
|
# Not a project with an msbuild file, build done at install.
|
||
|
build: off
|
||
|
|
||
|
artifacts:
|
||
|
path: 'syncplay_v1.5.1'
|
||
|
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: etoh
|
||
|
api_key:
|
||
|
secure: TfwB161OlDOcAz5nnmjtNjDmJw2KyCz/uB1KzN4r5/9AL3uczWNuY+k6qVGaRvOP
|
||
|
subject: syncplay
|
||
|
repo: Syncplay
|
||
|
package: Syncplay-win
|
||
|
version: "1.5.1"
|
||
|
publish: true
|
||
|
override: true
|