Skip to content

Commit a70c1ca

Browse files
committed
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: #3502
1 parent 236bada commit a70c1ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
- env: TOXENV=py36-xdist
8787
python: '3.6'
8888
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
89+
cache:
90+
directories:
91+
- $HOME/.cache/pre-commit
8992

9093
- stage: deploy
9194
python: '3.6'
@@ -144,7 +147,4 @@ notifications:
144147
skip_join: true
145148
email:
146149
147-
cache:
148-
directories:
149-
- $HOME/.cache/pip
150-
- $HOME/.cache/pre-commit
150+
cache: false

0 commit comments

Comments
 (0)