Skip to content

Commit 05fc89b

Browse files
committed
Add tox caching for 3.6-optional
1 parent 7a8a88b commit 05fc89b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.circleci/config.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
- checkout
1313
- restore_cache:
1414
keys:
15-
- tox-v1-{{ checksum "tox.ini" }}
16-
- tox-v1-
15+
- py27-core-v1-{{ checksum "tox.ini" }}
16+
- py27-core-v1-
1717
- run:
1818
name: Install tox
1919
command: 'sudo pip install tox'
2020
- run:
2121
name: Test with tox
2222
command: 'tox -e py27-core'
2323
- save_cache:
24-
key: tox-v1-{{ checksum "tox.ini" }}
24+
key: py27-core-v1-{{ checksum "tox.ini" }}
2525
paths:
2626
- .tox
2727

@@ -142,13 +142,21 @@ jobs:
142142

143143
steps:
144144
- checkout
145+
- restore_cache:
146+
keys:
147+
- py36-optional-v1-{{ checksum "tox.ini" }}
148+
- py36-optional-v1-
145149
- run:
146150
name: Install tox
147151
command: 'sudo pip install tox'
148152
- run: cd plotly/tests/test_optional/test_jupyter && npm install
149153
- run:
150154
name: Test with tox
151155
command: 'tox -e py36-optional'
156+
- save_cache:
157+
key: py36-optional-v1-{{ checksum "tox.ini" }}
158+
paths:
159+
- .tox
152160

153161
"python-3.7-optional":
154162
docker:
@@ -224,7 +232,7 @@ workflows:
224232
# - "python-2.7-optional"
225233
# - "python-3.4-optional"
226234
# - "python-3.5-optional"
227-
# - "python-3.6-optional"
235+
- "python-3.6-optional"
228236
# # 3.7 optional disabled due to current shapely incompatibility
229237
# # - "python-3.7-optional"
230238
# - "python-2.7-plot_ly"

0 commit comments

Comments
 (0)