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
|
- env: TOXENV=py36-xdist
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
|
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pre-commit
|
||||||
|
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
|
@ -144,7 +147,4 @@ notifications:
|
||||||
skip_join: true
|
skip_join: true
|
||||||
email:
|
email:
|
||||||
- pytest-commit@python.org
|
- pytest-commit@python.org
|
||||||
cache:
|
cache: false
|
||||||
directories:
|
|
||||||
- $HOME/.cache/pip
|
|
||||||
- $HOME/.cache/pre-commit
|
|
||||||
|
|
Loading…
Reference in New Issue