From 18f67bd56a2a067b38d97dea17d01752f39acf8e Mon Sep 17 00:00:00 2001 From: Chris Leaman Date: Wed, 29 Jan 2020 14:49:40 +1100 Subject: [PATCH] Allow travis to cache packages and pre-commit --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 18c6751..2c84efe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,11 @@ python: - 3.7 - 3.6 +cache: + pip: true + directories: + - "$HOME/.cache/pre-commit" + stages: - lint - test