mirror of https://github.com/Syncplay/syncplay
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
environment:
|
|
MINICONDA: "C:\\Miniconda"
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
init:
|
|
- set PATH=C:\Miniconda;C:\Miniconda\Scripts;%PATH%
|
|
- conda create -n syncplay -y
|
|
- activate syncplay
|
|
- conda install python pywin32 pyside -y
|
|
- pip2 install twisted py2exe_py2 zope.interface
|
|
- type nul > C:\Miniconda\envs\syncplay\lib\site-packages\zope\__init__.py
|
|
- pip2 freeze
|
|
- conda list
|
|
- for /f %%a in ('git describe --tags --abbrev^=0 --match^=v*') do set gittagversion=%%a
|
|
|
|
install:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- py -2 buildPy2exe.py
|
|
- del syncplay_%gittagversion%\lib\DNSAPI.dll
|
|
- del syncplay_%gittagversion%\lib\MPR.dll
|
|
- mkdir syncplay_%gittagversion%\platforms
|
|
#- 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_$(gittagversion)'
|
|
type: zip
|
|
name: Syncplay_win
|
|
|
|
# Push artefact to S3 bucket and list all
|
|
before_deploy:
|
|
- dir
|
|
#- 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
|
|
repo: Syncplay
|
|
package: Syncplay-win
|
|
version: $(gittagversion)
|
|
publish: true
|
|
override: true
|