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:
Daniel Hahler 2019-03-04 16:55:03 +01:00
parent 236bada755
commit a70c1ca100
1 changed files with 4 additions and 4 deletions

View File

@ -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