From d8967ae9d302e052e3f653883e5b52296f229d11 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Fri, 29 Nov 2019 22:02:57 -0800 Subject: [PATCH] [#757] update caching for ci --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9b010ffc..7b4786fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ dist: xenial # required for Python >= 3.7 os: linux language: python -cache: pip + +cache: + - pip git: depth: false @@ -22,6 +24,9 @@ aliases: os: osx language: shell osx_image: xcode11.2 + cache: + directories: + - $HOME/.pyenv/versions before_install: - eval "$(pyenv init -)" - pyenv install -s $JRNL_PYTHON_VERSION @@ -31,6 +36,11 @@ aliases: test_windows: &test_windows os: windows language: shell + cache: + directories: + - /c/Python36 + - /c/Python37 + - /c/Python38 before_install: - choco install python --version $JRNL_PYTHON_VERSION - python -m pip install --upgrade pip