Putting ccache installation before MATRIX_EVAL, in case brew update builds packages from source

This commit is contained in:
Thomas Ferreira de Lima 2019-04-04 22:21:13 -04:00
parent 7c8896d9dc
commit 603e0d5e1e
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 6 additions and 6 deletions

View File

@ -455,6 +455,12 @@ matrix:
before_install:
- env
- gem install dropbox-deployment
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$PATH";
mkdir -p ccache;
export CCACHE_DIR="`pwd`/ccache";
ccache -s;
fi
- eval "${MATRIX_EVAL}"
- if [ "${PIP_UPDATE}" == "1" ]; then
pip --version;
@ -463,12 +469,6 @@ before_install:
pip install --upgrade setuptools wheel || sudo pip install --upgrade setuptools wheel;
fi
- python -c "import distutils.sysconfig as sysconfig; print(sysconfig.__file__)"
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$PATH";
mkdir -p ccache;
export CCACHE_DIR="`pwd`/ccache";
ccache -s;
fi
install:
- if [ "$DOCKER_BUILD" = true ]; then