Skip to content

Commit

Permalink
Be more specific with cache keys in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Collado committed Mar 13, 2017
1 parent 63d98d6 commit 927877a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
steps:
- checkout
- restore_cache:
key: rabbithole-{{ .Branch }}
keys:
- rabbithole-{{ .Branch }}-{{ checksum "requirements/common.txt" }}
- rabbithole-{{ .Branch }}-
- run: apt update
- run: apt install -y gcc python-dev
- run: pip install tox
- run: tox
- save_cache:
key: rabbithole-{{ .Branch }}
key: rabbithole-{{ .Branch }}-{{ checksum "requirements/common.txt" }}
paths:
- ~/rabbithole/.tox

0 comments on commit 927877a

Please sign in to comment.