2017-09-26 11:48:27 +00:00
|
|
|
language: objective-c
|
2017-09-28 17:52:58 +00:00
|
|
|
osx_image: xcode7.3
|
2017-09-26 11:48:27 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2017-10-14 14:40:25 +00:00
|
|
|
- master
|
2017-09-26 11:48:27 +00:00
|
|
|
|
|
|
|
script:
|
2018-04-24 17:12:42 +00:00
|
|
|
- python3 buildPy2app.py py2app
|
2017-09-26 11:48:27 +00:00
|
|
|
|
|
|
|
before_install:
|
2018-04-24 17:12:42 +00:00
|
|
|
- hg clone https://alby128@bitbucket.org/alby128/py2app
|
2018-07-08 10:17:57 +00:00
|
|
|
- brew uninstall python
|
2018-02-09 11:40:01 +00:00
|
|
|
- brew update
|
2018-07-08 10:17:57 +00:00
|
|
|
- curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb
|
|
|
|
- brew install ./python.rb
|
2018-04-24 17:12:42 +00:00
|
|
|
- which python3
|
|
|
|
- python3 --version
|
|
|
|
- which pip3
|
|
|
|
- pip3 --version
|
2018-06-13 17:45:11 +00:00
|
|
|
- brew install qt
|
2018-06-14 09:38:00 +00:00
|
|
|
- curl -L https://bintray.com/alby128/Syncplay/download_file?file_path=PySide2-5.11.0-5.11.0-cp36-cp36m-macosx_10_11_x86_64.whl -o PySide2-5.11.0-5.11.0-cp36-cp36m-macosx_10_11_x86_64.whl
|
|
|
|
- pip3 install PySide2-5.11.0-5.11.0-cp36-cp36m-macosx_10_11_x86_64.whl
|
|
|
|
- ln -s /usr/local/lib/python3.6/site-packages/PySide2/libpyside2.cpython-36m-darwin.5.11.dylib /usr/local/lib/
|
|
|
|
- ln -s /usr/local/lib/python3.6/site-packages/PySide2/libshiboken2.cpython-36m-darwin.5.11.dylib /usr/local/lib/
|
|
|
|
- python3 -c "from PySide2 import __version__; print(__version__)"
|
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-26 11:48:27 +00:00
|
|
|
|
|
|
|
install:
|
2018-04-24 17:12:42 +00:00
|
|
|
- pip3 install twisted appnope
|
2018-05-30 21:03:02 +00:00
|
|
|
- pip3 install -U https://github.com/requests/requests/zipball/master
|
2017-09-28 17:52:58 +00:00
|
|
|
|
2017-09-26 11:48:27 +00:00
|
|
|
|
|
|
|
before_deploy:
|
2018-04-24 17:12:42 +00:00
|
|
|
- pip3 install dmgbuild
|
2017-09-26 11:48:27 +00:00
|
|
|
- mkdir dist_dmg
|
2017-09-27 10:08:36 +00:00
|
|
|
- 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 14:25:29 +00:00
|
|
|
- export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
|
2018-05-07 15:35:46 +00:00
|
|
|
- dmgbuild -s appdmg.py "Syncplay" dist_dmg/Syncplay_${VER}.dmg
|
2018-07-21 17:11:46 +00:00
|
|
|
- python3 bintray_version.py
|
2017-09-26 11:48:27 +00:00
|
|
|
|
|
|
|
deploy:
|
2018-04-07 21:02:55 +00:00
|
|
|
skip_cleanup: true
|
2017-10-14 14:40:25 +00:00
|
|
|
on: master
|
2017-10-07 20:02:59 +00:00
|
|
|
provider: bintray
|
|
|
|
file: "bintray.json"
|
|
|
|
user: alby128
|
|
|
|
key:
|
2017-10-14 23:42:13 +00:00
|
|
|
secure: "I9J3lgHyDoLzuGkjjMuYIk3ZI7Lszn2AG1H6lxIU3SXYaBpbLK+BHXotW0IsSxK5idCK8uszeA2svVipepwtCc9xJYEAlEYLVBgO9BpgTdQid9XjvI1eLDG3+iw0ew+FwEqaYwYbFHfnnQhVzIwBq353kl9ksgDMXi1uREpUk/L3HfVOUV3rDF6mgOPwAUJHBc3d56IVX1yQunM7NwJuswFrBMESauAlzw/C1gWDAuWJ5iJfnFz/4RBDa3C1sZdFmNnkuQEI332HzoMialMGyEP5gE8l0dmXBtFHpE1acgEZ+l1hVz9OsI2/dyICkjYFRLWF2tmxAk4DDF3jTsIRRsxpQo25XGKfvd0FrbN8Zqw8Yb0a5/WPP2E2ERGGLDxqTfkybYPv35utbtHEd4IZTX0Yv/GnmSwFa39+a7RDNhgFJWDR8XUX4Srd9CBron+36KrS+zY2Nn0c36YBxyAocw8qQ/pXmS15sQxSq2pi+GASyhemN546Gz2jbc3W/Ybp85iQ9Py/7Q1wUyYQVvJqEPL0K+/ioDSr4bDWbtqBLpUPlOYOvR4MPGCpqrfjJslpPPKBN8lD0BV2LYZEW6Bip0e8CsrFhecD1atNyWClaPoC0aikH3jpFfQYJOyQ6zghqpHSC+/S3HuGV/P8WCVBpC3TTrk0/TacwZwch3yhK9A="
|