mirror of https://github.com/Syncplay/syncplay
Added Appveyor support
This commit is contained in:
parent
46041fa104
commit
dff5138f54
|
@ -0,0 +1,51 @@
|
|||
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_pyside1
|
||||
|
||||
# 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 Amazon S3 bucket
|
||||
deploy:
|
||||
provider: S3
|
||||
access_key_id: AKIAJS554GLAZJ5L6TUA
|
||||
secret_access_key:
|
||||
secure: ZPxgm95K1SIqcFlqwoMWmGpPfctamQhhAedoyCT4RDQM/+VbdFLfEfUtu3rZZeBm
|
||||
bucket: syncplay
|
||||
region: eu-central-1
|
||||
set_public: true
|
|
@ -11,3 +11,4 @@ syncplay_setup.nsi
|
|||
dist.7z
|
||||
.*
|
||||
!.travis.yml
|
||||
!.appveyor.yml
|
||||
|
|
|
@ -33,7 +33,7 @@ if missingStrings is not None and missingStrings is not "":
|
|||
|
||||
p = "C:\\Program Files (x86)\\NSIS\\makensis.exe" #TODO: how to move that into proper place, huh
|
||||
NSIS_COMPILE = p if os.path.isfile(p) else "makensis.exe"
|
||||
OUT_DIR = "syncplay v{}".format(syncplay.version)
|
||||
OUT_DIR = "syncplay_v{}".format(syncplay.version)
|
||||
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
|
||||
NSIS_SCRIPT_TEMPLATE = r"""
|
||||
!include LogicLib.nsh
|
||||
|
|
Loading…
Reference in New Issue