1
0
Fork 0

Maybe make apt cache better?

This commit is contained in:
NamedKitten 2018-10-13 19:09:16 +01:00
parent 82f0b24c42
commit cbaf10d7e7

View file

@ -4,7 +4,7 @@ sudo: require
dist: xenial
cache:
paths:
- $TRAVIS_BUILD_DIR/apt-cache/
- /var/cache/apt/archives
before_install:
- mkdir -p $TRAVIS_BUILD_DIR/apt-cache/
@ -12,7 +12,7 @@ before_install:
- sudo apt-get update
install:
- 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
- sudo apt-get -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
script: