ci: Travis: disable cache by default, only for pre-commit
For pip the usual http caching should be good enough. This keeps the cache for pre-commit with the linting env for now. Ref: https://github.com/pytest-dev/pytest/issues/3502
This commit is contained in:
parent
236bada755
commit
a70c1ca100
|
@ -86,6 +86,9 @@ jobs:
|
|||
- env: TOXENV=py36-xdist
|
||||
python: '3.6'
|
||||
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pre-commit
|
||||
|
||||
- stage: deploy
|
||||
python: '3.6'
|
||||
|
@ -144,7 +147,4 @@ notifications:
|
|||
skip_join: true
|
||||
email:
|
||||
- pytest-commit@python.org
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- $HOME/.cache/pre-commit
|
||||
cache: false
|
||||
|
|
Loading…
Reference in New Issue