1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-18 16:20:20 -07:00

CircleCI: Cache installation of Tox

This commit is contained in:
Adrian Sampson 2019-06-30 11:29:49 -04:00
parent 92f48c2777
commit cdf1a97d75

View File

@ -7,11 +7,21 @@ jobs:
- image: circleci/python:3.7
steps:
- checkout
# Install Tox.
- restore_cache:
key: dep
- run:
command: sudo pip install tox
- save_cache:
key: dep
paths:
- "/usr/local/bin"
- "/usr/local/lib/python3.7/site-packages"
# Run Tox.
- restore_cache:
key: tox-{{ checksum "tox.ini" }}
paths: [".tox"]
- run:
command: tox -e py37,flake8
- save_cache: