From f34796d9ba3e06716b533f2e7a402261338d1631 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sat, 13 Oct 2018 16:55:01 +0100 Subject: [PATCH] Add apt cache and maybe make ffmpeg work? --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f4a85c..9d90ee3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: cpp compiler: gcc sudo: require dist: xenial +cache: + paths: + - apt-cache/ before_install: - sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y @@ -9,9 +12,9 @@ before_install: - sudo apt-get update install: - - sudo apt update - - sudo apt-get -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 libgl1-mesa-dev + - sudo apt-get -o dir::cache::archives="apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 libgl1-mesa-dev - source /opt/qt*/bin/qt*-env.sh + - sudo apt-get -o dir::cache::archives="apt-cache" -y upgrade script: - qmake CONFIG+=release PREFIX=/usr @@ -21,8 +24,8 @@ script: - chmod a+x linuxdeployqt-continuous-x86_64.AppImage - unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH - 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/ -appimage + - ./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 after_success: - find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq