From a6f8eb21b90b4b8365db673d16fe574937c34a3c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 21 Jan 2020 12:24:54 -0500 Subject: Added travis --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') 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)/ -- cgit v1.2.3