1
0
Fork 0
VideoPlayer/.travis.yml
NamedKitten 7cb25b824c libmpv
2018-10-14 21:03:59 +01:00

33 lines
963 B
YAML

language: cpp
compiler: gcc
sudo: require
dist: xenial
cache:
ccache: true
directories:
- $HOME/.ccache
before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
- sudo apt-get update
install:
- sudo apt-get -y install ccache qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev
- sudo apt-get build-dep libmpv
- source /opt/qt*/bin/qt*-env.sh
script:
- bash scripts/makeappimage.sh
after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- curl --upload-file KittehPlayer*.AppImage https://transfer.sh/KittehPlayer-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh KittehPlayer*.AppImage*
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/