syncplay/.appveyor.yml

51 lines
1.4 KiB
YAML
Raw Normal View History

2017-12-25 20:11:01 +00:00
environment:
MINICONDA: "C:\\Miniconda"
platform: x86
configuration: Release
init:
- set PATH=C:\Miniconda;C:\Miniconda\Scripts;%PATH%
2017-12-25 20:18:16 +00:00
- 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
2017-12-25 20:11:01 +00:00
install:
2017-12-25 20:18:16 +00:00
- 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\
2017-12-25 20:11:01 +00:00
# Not a project with an msbuild file, build done at install.
build: off
artifacts:
2017-12-25 20:18:16 +00:00
path: 'syncplay_$(gittagversion)'
2017-12-25 20:11:01 +00:00
type: zip
name: Syncplay_win
# Push artefact to S3 bucket and list all
before_deploy:
2017-12-25 20:18:16 +00:00
- dir
#- python -c "from PySide2 import QtCore; print QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.PluginsPath)"
2017-12-25 20:11:01 +00:00
# Deploy build to BinTray
deploy:
provider: BinTray
username: etoh
api_key:
secure: TfwB161OlDOcAz5nnmjtNjDmJw2KyCz/uB1KzN4r5/9AL3uczWNuY+k6qVGaRvOP
repo: Syncplay
package: Syncplay-win
2017-12-25 20:18:16 +00:00
version: $(gittagversion)
2017-12-25 20:11:01 +00:00
publish: true
override: true