From c10c6f616911c2bcacc3105cc8f9520e15b26c03 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Tue, 16 Oct 2018 08:13:01 +0100 Subject: [PATCH] Add apt cache again. --- .travis.yml | 4 ++++ scripts/build-mpv.sh | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 46c4474..e8dc1e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,12 @@ cache: ccache: true directories: - $HOME/.ccache + - $HOME/.cache/apt before_install: + - mkdir -p $HOME/.cache/apt/partial + - sudo rm -rf /var/cache/apt/archives + - sudo ln -s $HOME/.cache/apt /var/cache/apt/archives - sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y - sudo apt-get update diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index 13aa8bc..9d4148f 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -6,7 +6,6 @@ export CFLAGS="-fPIC -Os" export CCACHE_SLOPPINESS=time_macros export CCACHE=`which ccache` - git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true cd mpv-build