From a70c1ca1005c222cc0ee32b6bca9c112ec9c0457 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 4 Mar 2019 16:55:03 +0100 Subject: [PATCH] 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 --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 03b502c80..750f93f81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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