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