Skip to content

Commit

Permalink
CircleCI: Cache installation of Tox
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Jun 30, 2019
1 parent 92f48c2 commit cdf1a97
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cdf1a97

Please sign in to comment.