Use updated wiiaboo code

This commit is contained in:
Etoh 2017-12-25 20:23:03 +00:00 committed by GitHub
parent bf00d9e828
commit 33942e9be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,31 +6,33 @@ platform: x86
configuration: Release configuration: Release
init: init:
- set PATH=C:\Miniconda;C:\Miniconda\Scripts;%PATH% - set PATH=C:\Miniconda;C:\Miniconda\Scripts;C:\Program Files (x86)\NSIS;%PATH%
- conda create -n syncplay -y - conda create -n syncplay -y
- activate syncplay - activate syncplay
- conda install python pywin32 pyside -y - conda install python pywin32 pyside -y
- pip2 install twisted py2exe_py2 zope.interface - pip install twisted py2exe_py2 zope.interface
- type nul > C:\Miniconda\envs\syncplay\lib\site-packages\zope\__init__.py - type nul > C:\Miniconda\envs\syncplay\lib\site-packages\zope\__init__.py
- pip2 freeze - pip freeze
- conda list - conda list
- for /f %%a in ('git describe --tags --abbrev^=0 --match^=v*') do set gittagversion=%%a
install: install:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
- py -2 buildPy2exe.py - for /F "tokens=2 delims='" %%a in ('findstr version syncplay\__init__.py') do @set ver=%%a
- del syncplay_%gittagversion%\lib\DNSAPI.dll - python buildPy2exe.py
- del syncplay_%gittagversion%\lib\MPR.dll - del syncplay_v%ver%\lib\MPR.dll
- mkdir syncplay_%gittagversion%\platforms - mkdir syncplay_v%ver%\platforms
#- copy C:\Miniconda\envs\syncplay\library\plugins\platforms\qwindows.dll C:\projects\syncplay\syncplay_v1.5.0\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. # Not a project with an msbuild file, build done at install.
build: off build: off
artifacts: artifacts:
path: 'syncplay_$(gittagversion)' - path: 'syncplay_v$(ver)'
type: zip type: zip
name: Syncplay_win name: Syncplay-$(ver)-win
- path: Syncplay-$(ver)-Setup.exe
name: Syncplay-$(ver)-win-setup
# Push artefact to S3 bucket and list all # Push artefact to S3 bucket and list all
before_deploy: before_deploy:
@ -45,6 +47,6 @@ deploy:
secure: TfwB161OlDOcAz5nnmjtNjDmJw2KyCz/uB1KzN4r5/9AL3uczWNuY+k6qVGaRvOP secure: TfwB161OlDOcAz5nnmjtNjDmJw2KyCz/uB1KzN4r5/9AL3uczWNuY+k6qVGaRvOP
repo: Syncplay repo: Syncplay
package: Syncplay-win package: Syncplay-win
version: $(gittagversion) version: v$(gittagversion)
publish: true publish: true
override: true override: true