diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-01-21 12:24:54 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-01-21 12:24:54 -0500 |
| commit | a6f8eb21b90b4b8365db673d16fe574937c34a3c (patch) | |
| tree | 7841b0274aa15c48f175d3f4d5c75a4b2dd1fea8 | |
| parent | 0325932e429b5fb052c7e697c4ada8511154b0a0 (diff) | |
| download | erable-godot-a6f8eb21b90b4b8365db673d16fe574937c34a3c.tar.gz erable-godot-a6f8eb21b90b4b8365db673d16fe574937c34a3c.tar.bz2 erable-godot-a6f8eb21b90b4b8365db673d16fe574937c34a3c.zip | |
Added travis
| -rw-r--r-- | .travis.yml | 25 | ||||
| -rw-r--r-- | AleePlayer.desktop | 2 | ||||
| -rw-r--r-- | AleePlayer.pro | 22 |
3 files changed, 45 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cc1957d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ + +language: cpp +before_install: + - sudo apt-get install libtag1-dev qt5-qmake libqt5x11extras5-dev qt5-default qttools5-dev-tools libqt5svg5-dev +script: + - qmake + - make + - make install INSTALL_ROOT=appdir + - wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" + - chmod a+x linuxdeployqt-continuous-x86_64.AppImage + - "./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs" + - "./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage" +after_success: + - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq + - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + - bash upload.sh AleePlayer*.AppImage* + +compiler: + - gcc +dist: xenial + +branches: + except: + - # Do not build tags that we create when we upload to GitHub Releases + - /^(?i:continuous)/ diff --git a/AleePlayer.desktop b/AleePlayer.desktop index 7367d8e..8c5b8aa 100644 --- a/AleePlayer.desktop +++ b/AleePlayer.desktop @@ -3,5 +3,5 @@ Type=Application Name=AleePlayer Comment=Music Player by Alee Productions Exec=AleePlayer -Icon=ALP.png +Icon=ALP Categories=Audio; diff --git a/AleePlayer.pro b/AleePlayer.pro index b40e961..c7ffdff 100644 --- a/AleePlayer.pro +++ b/AleePlayer.pro @@ -32,7 +32,23 @@ TRANSLATIONS += \ AleePlayer_en_CA.ts +unix:!macx:!android { + + TARGET = AleePlayer + + target.path = /usr/bin + + desktop.path = /usr/share/applications + desktop.files = AleePlayer.desktop + + icon.path = /usr/share/icons/hicolor/scalable/apps/ + icon.files = ALP.svg + + + INSTALLS += target desktop icon +} + + # Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target +#qnx: target.path = /tmp/$${TARGET}/bin +#!isEmpty(target.path): INSTALLS += target |
