This commit is contained in:
probonopd 2019-07-07 09:16:26 +00:00 committed by GitHub
parent 01cc2d630f
commit dee80d065d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

30
.travis.yml Normal file
View File

@ -0,0 +1,30 @@
language: cpp
compiler: gcc
sudo: require
dist: trusty
before_install:
- sudo add-apt-repository ppa:beineri/opt-qt593-trusty -y
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt59base qt59declarative qt59multimedia libgl1-mesa-dev
- source /opt/qt*/bin/qt*-env.sh
script:
- cd ./CasterSoundboard/
- qmake CONFIG+=release PREFIX=/usr
- make -j$(nproc)
- make 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 -appimage
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Caster*.AppImage*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/