1
0
Fork 0

Move to Ubuntu Bionic for updated libMPV

This commit is contained in:
NamedKitten 2018-10-13 18:10:32 +01:00
parent 128b4ae235
commit 7adf61213a

View file

@ -1,20 +1,18 @@
language: cpp language: cpp
compiler: gcc compiler: gcc
sudo: require sudo: require
dist: xenial dist: bionic
cache: cache:
paths: paths:
- apt-cache/ - $TRAVIS_BUILD_DIR/apt-cache/
before_install: before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y - sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-bionic -y
- sudo add-apt-repository ppa:mc3man/xerus-media -y
- sudo apt-get update - sudo apt-get update
install: install:
- sudo apt-get -o dir::cache::archives="apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libavcodec-dev libavcodec-extra libgl1-mesa-dev - sudo apt-get -o dir::cache::archives="$TRAVIS_BUILD_DIR/apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libavcodec-dev libavcodec-extra libgl1-mesa-dev
- source /opt/qt*/bin/qt*-env.sh - source /opt/qt*/bin/qt*-env.sh
- sudo apt-get -o dir::cache::archives="apt-cache" -y dist-upgrade
script: script:
- qmake CONFIG+=release PREFIX=/usr - qmake CONFIG+=release PREFIX=/usr
@ -24,6 +22,8 @@ script:
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage - chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file - export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
- mkdir -p appdir/usr/plugins/imageformats/
- cp /opt/qt*/plugins/imageformats/libqsvg.so appdir/usr/plugins/imageformats/
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs -appimage - ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs -appimage
- #./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage - #./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -appimage