From 875aed976ef59f883c6d78b9d89fe6c53cb223a7 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 2 Apr 2019 19:47:08 +0200 Subject: [PATCH] ci: Travis: cache for pre-commit (linting) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3b6db4b..949ad01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,9 @@ jobs: - stage: baseline python: '3.6' env: TOXENV=linting + cache: + directories: + - $HOME/.cache/pre-commit - python: '3.6' env: TOXENV=py36-pytestlatest - python: '2.7'