Skip to content

Commit 612c378

Browse files
authored
Merge pull request #4881 from blueyed/travis-cache
ci: Travis: disable cache by default, only for pre-commit
2 parents 36f774a + a70c1ca commit 612c378

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)