From 923324e4de0751e8195b53ff02efc5ee14fe7337 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 30 Jun 2019 11:23:33 -0400 Subject: [PATCH] CircleCI: Try caching Tox environment --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2ac2417..29ef519 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,5 +9,11 @@ jobs: - checkout - run: command: sudo pip install tox + - restore_cache: + key: tox-{{ checksum "tox.ini" }} + paths: [".tox"] - run: command: tox -e py37,flake8 + - save_cache: + key: tox-{{ checksum "tox.ini" }} + paths: [".tox"]