2017-09-28 17:52:58 +00:00
|
|
|
language: objective-c
|
|
|
|
osx_image: xcode7.3
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2018-04-24 17:12:42 +00:00
|
|
|
- py3-qtpy-pyside2
|
2017-09-28 17:52:58 +00:00
|
|
|
|
|
|
|
script:
|
2018-04-24 17:12:42 +00:00
|
|
|
- python3 buildPy2app.py py2app
|
2017-09-28 17:52:58 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-04-24 17:12:42 +00:00
|
|
|
- hg clone https://alby128@bitbucket.org/alby128/py2app
|
2018-04-17 14:04:20 +00:00
|
|
|
- brew update
|
2018-04-24 17:12:42 +00:00
|
|
|
- brew upgrade python
|
|
|
|
- which python3
|
|
|
|
- python3 --version
|
|
|
|
- which pip3
|
|
|
|
- pip3 --version
|
2018-04-19 20:25:06 +00:00
|
|
|
- curl -O http://syncplay.s3.amazonaws.com/qt595.rb
|
|
|
|
- mv qt595.rb qt.rb
|
2018-04-17 14:04:20 +00:00
|
|
|
- brew install ./qt.rb
|
2018-04-24 17:12:42 +00:00
|
|
|
- curl -L https://bintray.com/alby128/Syncplay/download_file?file_path=PySide2-5.9.0a1-5.9.5-cp36-cp36m-macosx_10_11_x86_64.whl -o PySide2-5.9.0a1-5.9.5-cp36-cp36m-macosx_10_11_x86_64.whl
|
|
|
|
- pip3 install PySide2-5.9.0a1-5.9.5-cp36-cp36m-macosx_10_11_x86_64.whl
|
2018-04-24 18:45:13 +00:00
|
|
|
- ln -s /usr/local/lib/python3.6/site-packages/PySide2/libpyside2.cpython-36m-darwin.5.9.dylib /usr/local/lib/
|
|
|
|
- ln -s /usr/local/lib/python3.6/site-packages/PySide2/libshiboken2.cpython-36m-darwin.5.9.dylib /usr/local/lib/
|
2018-01-22 11:01:04 +00:00
|
|
|
#- python -c "from PySide2 import QtCore"
|
2018-04-24 17:12:42 +00:00
|
|
|
- python3 -c "from PySide2.QtCore import __version__; print(__version__)"
|
2017-09-28 17:52:58 +00:00
|
|
|
- cd py2app
|
2018-04-24 17:12:42 +00:00
|
|
|
- python3 setup.py install
|
2018-01-08 15:08:38 +00:00
|
|
|
- cd ..
|
2018-04-24 17:12:42 +00:00
|
|
|
- python3 -c "from py2app.recipes import pyside2"
|
2017-09-28 17:52:58 +00:00
|
|
|
|
|
|
|
install:
|
2018-04-24 17:12:42 +00:00
|
|
|
- pip3 install twisted appnope
|
2017-09-28 17:52:58 +00:00
|
|
|
|
|
|
|
before_deploy:
|
2018-04-24 17:12:42 +00:00
|
|
|
- pip3 install dmgbuild
|
2017-09-28 17:52:58 +00:00
|
|
|
- mkdir dist_dmg
|
|
|
|
- mv resources/macos_vlc_install.command resources/.macos_vlc_install.command
|
2017-10-20 22:27:49 +00:00
|
|
|
- mv resources/lua/intf/syncplay.lua resources/lua/intf/.syncplay.lua
|
|
|
|
- mv resources/macOS_readme.pdf resources/.macOS_readme.pdf
|
2018-01-08 13:18:49 +00:00
|
|
|
- export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
|
2018-04-24 18:45:13 +00:00
|
|
|
- dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay_${VER}_macOS_py36_pyside2.dmg
|
2017-09-28 17:52:58 +00:00
|
|
|
|
|
|
|
deploy:
|
2018-04-11 10:40:56 +00:00
|
|
|
skip_cleanup: true
|
2018-04-24 17:12:42 +00:00
|
|
|
on: py3-qtpy-pyside2
|
2017-10-07 20:02:59 +00:00
|
|
|
provider: bintray
|
|
|
|
file: "bintray.json"
|
|
|
|
user: alby128
|
|
|
|
key:
|
2017-10-15 15:16:23 +00:00
|
|
|
secure: "N4XK9IxGEj+5aMskTEvUWwXSMXtHDFcjiLvnPRzVT3OOTSAA2AYjlH975MGiGEanap5gq5ftIo+M2TVNfiqflE9GSlFir+KfzabheoONZVegAq2sG6rDq9YElGJ8JefEb2O8vZykeyvow6TBxcsFdbV44RbGmf4obLALXKgK1cXG8MCKj8VOxVZpgaXFnNCxVlN1AlORx6MQ4ukaZMuO7fDnHjAgnkGlZOBq7/kMJfYGdZvLkKoe6qEoZHJQxVTcA3pkIwRQci5kx/AAxCuKcXYLpoHot5dytIumk0iwfzDqN4uUX5qOG8o2FrWy+7z/Yt7W97lA5c6hVltsoX5dqp0WB14EKgYq+wQwSNcI6tInjogDo4JnGSu1Tpmsy+Fc3Y5Z1cD29hWimxcC8h/wlm9C2hOjfEsdLOfkghevMjRdAW2RIIA8/KmR1Xi2EX78Q75wrPHvo4/4x0Cw0ZviN2wC9LY3GU8tmGjjC0P+WsF4M1Y9by2H2xLHuYPB7h7OnlD67d8pPQVq84Yl2jq9kT2PoYjlNwqWz1r/PsLBCGlXQtlTc7FQKXUAREFwBJY+b5mk2xMsiZZsNrtIfRQ2roDbHws+M0mAQPo1eqeDKLPH8fkDf/ZhWzE+swLadoGxuwKSux53ySAp7CQeObJYWJ3eHfO0cI21DZmd9uyjayA="
|