Add deploy

This commit is contained in:
Maijin 2017-09-26 12:09:00 +02:00
parent b10e97e702
commit bf017e4940

View File

@ -13,7 +13,6 @@ matrix:
after_success: after_success:
# TODO: include radare2/www for the webserver # TODO: include radare2/www for the webserver
- macdeployqt cutter.app -dmg - macdeployqt cutter.app -dmg
- ls cut*.dmg
- os: linux - os: linux
dist: trusty dist: trusty
sudo: required sudo: required
@ -33,7 +32,6 @@ matrix:
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2 - ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage -verbose=2 - ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage -verbose=2
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- ls Cut*.AppImage
script: script:
- git submodule init ; git submodule update - git submodule init ; git submodule update
@ -48,3 +46,14 @@ script:
- cd build - cd build
- qmake PREFIX=/usr APPIMAGE=1 ../src - qmake PREFIX=/usr APPIMAGE=1 ../src
- make -j4 - make -j4
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: ZXuSX8JXyL0HlJvSIda3ftMkvYsrxoWDcWm2LxO+f0uNFghCHNnISuH/btdipn2mjCBaBQl6/1IK5cg/AZ5OSkiaVsJJqY8kkPsZvR8K+k4oarsr2ApetlLZiZWtydC3J+UyNhsgCt4iuYPsvusANFPZBpVmqT+A5CHS7aPIqP00awbkJYG1uOENe2XVZ0vyotBqU0E7A9f8UO5ps0+qysS8W+NDB+CGLgKLeBfCk3U+IYKGYXcv66xCmSSZ5f7IVIXEjG4voFHGp9XLRY2R/iJgiKQKDbu519vUB3iKPzmLTB/Q9bNz4VMZCREa4SHaLDen730fMHbfm6ZhGZDzXg1DgZoh6RHptWf0WjcHTr1ch8ajpnBMxh/qmoRpaS00FJQMraMT3Il38ekYd+hOhsP58Bj1Db2vjBKopGEHGmVyFQZKuynrdKmpmY+kRNUT3QerIsiAHwHV2QXnMARHYXJrM0T7LNACa2mhiwQD2vNIqLRieIbHbSWgDUrTVTDeII23AAHCzD0YxcCAjSExjun/rc9dJjevgCoBpTM/NHPLCW4big1myx+vRQGPNdlf+dI7igm6bPVWB7znp5uXlI8q5irvqTVtRSvKbcaeDWOz/ki7QgOzaxmGFtaw30hxeY0wFlnSMXc8m42udWLkp/l0b4L0hcoaMTc1TvVU0i4=
file:
- cutter.dmg
- Cutter-x86_64.AppImage
on:
repo: radareorg/cutter