Move apt_mingw_cache out of build directory (#4842)

This commit is contained in:
Javier Serrano Polo
2019-02-25 19:06:01 +01:00
committed by Tres Finocchiaro
parent e34f75a8c7
commit ad1fa16a95
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ dist: trusty
sudo: required
cache:
directories:
- apt_mingw_cache
- $HOME/apt_mingw_cache
- $HOME/.ccache
- $HOME/pbuilder-bases
matrix:

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
CACHE_DIR=$TRAVIS_BUILD_DIR/apt_mingw_cache/$1
CACHE_DIR=$HOME/apt_mingw_cache/$1
mkdir -p $CACHE_DIR
pushd $CACHE_DIR