aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml40
-rw-r--r--.travis.yml.broken50
2 files changed, 62 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
index ee45ede..aafbbd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,21 @@
language: cpp
-os:
- - linux
-# - osx
sudo: require
dist: trusty
-#osx_image: xcode10.2
before_install:
- - export STAGE=before_install
- - ./scripts/travis.sh
+ - sudo apt-get install libtag1-dev qt5-qmake libqt5x11extras5-dev qt5-default qttools5-dev-tools libqt5svg5-dev qtmultimedia5-dev libgtk2.0-dev
script:
- - export STAGE=script
- - ./scripts/travis.sh
-
+ - qmake
+ - make -j$(nproc)
+ - make install INSTALL_ROOT=appdir -j$(nproc) install ; find 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:
- - export STAGE=after_success
- - ./scripts/travis.sh
+ - 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*
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
@@ -23,26 +23,10 @@ after_failure:
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
-
+
compiler:
- gcc
dist: xenial
-
-#addons:
-# homebrew:
-# taps:
-# - kde-mac/kde
-# packages:
-# - qt5
-# - gstreamer
-# - gst-plugins-good
-# - gst-plugins-bad
-# - gst-plugins-ugly
-# - cmake
-# - libmusicbrainz
-# - taglib
-# - kf5-extra-cmake-modules
-# update: true
branches:
except:
diff --git a/.travis.yml.broken b/.travis.yml.broken
new file mode 100644
index 0000000..ee45ede
--- /dev/null
+++ b/.travis.yml.broken
@@ -0,0 +1,50 @@
+
+language: cpp
+os:
+ - linux
+# - osx
+sudo: require
+dist: trusty
+#osx_image: xcode10.2
+before_install:
+ - export STAGE=before_install
+ - ./scripts/travis.sh
+script:
+ - export STAGE=script
+ - ./scripts/travis.sh
+
+after_success:
+ - export STAGE=after_success
+ - ./scripts/travis.sh
+ - wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
+ - chmod +x send.sh
+ - ./send.sh success $WEBHOOK_URL
+after_failure:
+ - wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
+ - chmod +x send.sh
+ - ./send.sh failure $WEBHOOK_URL
+
+compiler:
+ - gcc
+dist: xenial
+
+#addons:
+# homebrew:
+# taps:
+# - kde-mac/kde
+# packages:
+# - qt5
+# - gstreamer
+# - gst-plugins-good
+# - gst-plugins-bad
+# - gst-plugins-ugly
+# - cmake
+# - libmusicbrainz
+# - taglib
+# - kf5-extra-cmake-modules
+# update: true
+
+branches:
+ except:
+ - # Do not build tags that we create when we upload to GitHub Releases
+ - /^(?i:continuous)/