Add apt cache and maybe make ffmpeg work?
This commit is contained in:
parent
a879aa7b06
commit
f34796d9ba
11
.travis.yml
11
.travis.yml
|
@ -2,6 +2,9 @@ language: cpp
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
sudo: require
|
sudo: require
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- 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-xenial -y
|
||||||
|
@ -9,9 +12,9 @@ before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt update
|
- sudo apt-get -o dir::cache::archives="apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 libgl1-mesa-dev
|
||||||
- sudo apt-get -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 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 upgrade
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- qmake CONFIG+=release PREFIX=/usr
|
- qmake CONFIG+=release PREFIX=/usr
|
||||||
|
@ -21,8 +24,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
|
||||||
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs
|
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -qmldir=./src/qml/ -bundle-non-qt-libs -verbose=3 -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
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
||||||
|
|
Loading…
Reference in a new issue