mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[#757] update caching for ci
This commit is contained in:
parent
3c6b8058ff
commit
d8967ae9d3
1 changed files with 11 additions and 1 deletions
12
.travis.yml
12
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue