[#757] update caching for ci

This commit is contained in:
Jonathan Wren 2019-11-29 22:02:57 -08:00
parent 3c6b8058ff
commit d8967ae9d3

View file

@ -1,7 +1,9 @@
dist: xenial # required for Python >= 3.7 dist: xenial # required for Python >= 3.7
os: linux os: linux
language: python language: python
cache: pip
cache:
- pip
git: git:
depth: false depth: false
@ -22,6 +24,9 @@ aliases:
os: osx os: osx
language: shell language: shell
osx_image: xcode11.2 osx_image: xcode11.2
cache:
directories:
- $HOME/.pyenv/versions
before_install: before_install:
- eval "$(pyenv init -)" - eval "$(pyenv init -)"
- pyenv install -s $JRNL_PYTHON_VERSION - pyenv install -s $JRNL_PYTHON_VERSION
@ -31,6 +36,11 @@ aliases:
test_windows: &test_windows test_windows: &test_windows
os: windows os: windows
language: shell language: shell
cache:
directories:
- /c/Python36
- /c/Python37
- /c/Python38
before_install: before_install:
- choco install python --version $JRNL_PYTHON_VERSION - choco install python --version $JRNL_PYTHON_VERSION
- python -m pip install --upgrade pip - python -m pip install --upgrade pip