From 50c0c97c2e48f5c3e2572a3881ca158d7e69b291 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 24 Sep 2021 16:53:29 +0300 Subject: [PATCH] Cache pip. --- .cirrus.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 87ee00e28..f5373d25c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -38,16 +38,21 @@ macos_task_template: &MACOS_TASK_TEMPLATE << : *FILTER_TEMPLATE env: ACCESS_TOKEN: ENCRYPTED[81e0b2381ffb628b73f5c94f834010e6631191e0ad03cdd0850d440fb2737a74b68131d842030f010c1bf73ab4cdc1ae] + PATH: ${HOME}/.local/bin:${PATH} + # ^ add user paths + PIP_CACHE_DIR: ${HOME}/.cache/pip global_homebrew_cache: folder: "/usr/local/Homebrew" local_homebrew_cache: folder: "$HOME/Library/Caches/Homebrew" + pip_cache: + folder: ${PIP_CACHE_DIR} install_script: - brew update > /dev/null - brew install qt5 - chmod -R 755 /usr/local/opt/qt5/* - python3 --version - - pip3 install dropbox + - pip3 install --user --upgrade pip dropbox build_script: - QTDIR="/usr/local/opt/qt5" - PATH="$QTDIR/bin:$PATH"