Skip to content

Commit 0236c2f

Browse files
committed
ci(circleci): cache .tox folder
1 parent 83030f5 commit 0236c2f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ test: &test
1818
name: install dependencies
1919
command: |
2020
sudo pip install -r tox-requirements.txt
21+
- restore_cache:
22+
keys:
23+
- tox-env-{{ checksum "test-requirements" }}-{{ checksum "build-requirements.txt" }}
24+
- tox-env-
2125
- run:
2226
name: test
2327
command: |
2428
tox -e ${CIRCLE_JOB}
25-
29+
- save_cache:
30+
key: tox-env-{{ checksum "test-requirements" }}-{{ checksum "build-requirements.txt" }}
31+
paths:
32+
- .tox
2633
test_pypy: &test_pypy
2734
working_directory: ~/bencoder.pyx
2835
steps:

0 commit comments

Comments
 (0)