1
- version : 2.0
1
+ version : 2.1
2
2
3
3
# heavily inspired by https://raw.githubusercontent.com/pinax/pinax-wiki/6bd2a99ab6f702e300d708532a6d1d9aa638b9f8/.circleci/config.yml
4
4
@@ -116,7 +116,7 @@ ethpm_steps: ðpm_steps
116
116
- checkout
117
117
- restore_cache :
118
118
keys :
119
- - cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
119
+ - ethpm- cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
120
120
- run :
121
121
name : install ipfs
122
122
command :
@@ -142,10 +142,34 @@ ethpm_steps: ðpm_steps
142
142
- .tox
143
143
- ~/.cache/pip
144
144
- ~/.local
145
- - ./eggs
146
- - ~/.ethash
147
- - ~/.py-geth
148
- key : cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
145
+ key : ethpm-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
146
+
147
+ orbs :
148
+ win : circleci/windows@2.2.0
149
+
150
+ windows_steps : &windows_steps
151
+ executor :
152
+ name : win/default
153
+ shell : bash.exe
154
+ working_directory : C:\Users\circleci\project\web3py
155
+ steps :
156
+ - checkout
157
+ - restore_cache :
158
+ keys :
159
+ - windows-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
160
+ - run :
161
+ name : checkout ethpm-spec submodule
162
+ command : git submodule update --init --recursive
163
+ - run :
164
+ name : install dependencies
165
+ command : pip install --user tox
166
+ - run :
167
+ name : run tox
168
+ command : ' C:/Users/circleci/AppData/Roaming/Python/Python37/Scripts/tox.exe -r'
169
+ - save_cache :
170
+ paths :
171
+ - .tox
172
+ key : windows-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
149
173
150
174
151
175
jobs :
@@ -189,29 +213,29 @@ jobs:
189
213
# Please don't use this key for any shenanigans
190
214
WEB3_INFURA_PROJECT_ID : 7707850c2fb7465ebe6f150d67182e22
191
215
192
- py36-integration-goethereum-ipc-1.9.19 :
216
+ py36-integration-goethereum-ipc :
193
217
<< : *geth_steps
194
218
docker :
195
219
- image : circleci/python:3.6
196
220
environment :
197
221
TOXENV : py36-integration-goethereum-ipc
198
- GETH_VERSION : v1.9.19
222
+ GETH_VERSION : v1.10.1
199
223
200
- py36-integration-goethereum-http-1.9.19 :
224
+ py36-integration-goethereum-http :
201
225
<< : *geth_steps
202
226
docker :
203
227
- image : circleci/python:3.6
204
228
environment :
205
229
TOXENV : py36-integration-goethereum-http
206
- GETH_VERSION : v1.9.19
230
+ GETH_VERSION : v1.10.1
207
231
208
- py36-integration-goethereum-ws-1.9.19 :
232
+ py36-integration-goethereum-ws :
209
233
<< : *geth_steps
210
234
docker :
211
235
- image : circleci/python:3.6
212
236
environment :
213
237
TOXENV : py36-integration-goethereum-ws
214
- GETH_VERSION : v1.9.19
238
+ GETH_VERSION : v1.10.1
215
239
216
240
# py36-integration-parity-ipc:
217
241
# <<: *parity_steps
@@ -247,12 +271,14 @@ jobs:
247
271
environment :
248
272
TOXENV : py36-integration-ethtester
249
273
ETHEREUM_TESTER_CHAIN_BACKEND : eth_tester.backends.PyEVMBackend
274
+
250
275
py36-wheel-cli :
251
276
<< : *common
252
277
docker :
253
278
- image : circleci/python:3.6
254
- environment :
255
- TOXENV : py36-wheel-cli
279
+ environment :
280
+ TOXENV : py36-wheel-cli
281
+
256
282
#
257
283
# Python 3.7
258
284
#
@@ -279,29 +305,29 @@ jobs:
279
305
# Please don't use this key for any shenanigans
280
306
WEB3_INFURA_PROJECT_ID : 7707850c2fb7465ebe6f150d67182e22
281
307
282
- py37-integration-goethereum-ipc-1.9.19 :
308
+ py37-integration-goethereum-ipc :
283
309
<< : *geth_steps
284
310
docker :
285
311
- image : circleci/python:3.7
286
312
environment :
287
313
TOXENV : py37-integration-goethereum-ipc
288
- GETH_VERSION : v1.9.19
314
+ GETH_VERSION : v1.10.1
289
315
290
- py37-integration-goethereum-http-1.9.19 :
316
+ py37-integration-goethereum-http :
291
317
<< : *geth_steps
292
318
docker :
293
319
- image : circleci/python:3.7
294
320
environment :
295
321
TOXENV : py37-integration-goethereum-http
296
- GETH_VERSION : v1.9.19
322
+ GETH_VERSION : v1.10.1
297
323
298
- py37-integration-goethereum-ws-1.9.19 :
324
+ py37-integration-goethereum-ws :
299
325
<< : *geth_steps
300
326
docker :
301
327
- image : circleci/python:3.7
302
328
environment :
303
329
TOXENV : py37-integration-goethereum-ws
304
- GETH_VERSION : v1.9.19
330
+ GETH_VERSION : v1.10.1
305
331
306
332
# py37-integration-parity-ipc:
307
333
# <<: *parity_steps
@@ -337,12 +363,19 @@ jobs:
337
363
environment :
338
364
TOXENV : py37-integration-ethtester
339
365
ETHEREUM_TESTER_CHAIN_BACKEND : eth_tester.backends.PyEVMBackend
366
+
340
367
py37-wheel-cli :
341
368
<< : *common
342
369
docker :
343
370
- image : circleci/python:3.7
344
- environment :
345
- TOXENV : py37-wheel-cli
371
+ environment :
372
+ TOXENV : py37-wheel-cli
373
+
374
+ py37-wheel-cli-windows :
375
+ << : *windows_steps
376
+ environment :
377
+ TOXENV : py37-wheel-cli-windows
378
+
346
379
#
347
380
# Python 3.8
348
381
#
@@ -369,29 +402,29 @@ jobs:
369
402
# Please don't use this key for any shenanigans
370
403
WEB3_INFURA_PROJECT_ID : 7707850c2fb7465ebe6f150d67182e22
371
404
372
- py38-integration-goethereum-ipc-1.9.19 :
405
+ py38-integration-goethereum-ipc :
373
406
<< : *geth_steps
374
407
docker :
375
408
- image : circleci/python:3.8
376
409
environment :
377
410
TOXENV : py38-integration-goethereum-ipc
378
- GETH_VERSION : v1.9.19
411
+ GETH_VERSION : v1.10.1
379
412
380
- py38-integration-goethereum-http-1.9.19 :
413
+ py38-integration-goethereum-http :
381
414
<< : *geth_steps
382
415
docker :
383
416
- image : circleci/python:3.8
384
417
environment :
385
418
TOXENV : py38-integration-goethereum-http
386
- GETH_VERSION : v1.9.19
419
+ GETH_VERSION : v1.10.1
387
420
388
- py38-integration-goethereum-ws-1.9.19 :
421
+ py38-integration-goethereum-ws :
389
422
<< : *geth_steps
390
423
docker :
391
424
- image : circleci/python:3.8
392
425
environment :
393
426
TOXENV : py38-integration-goethereum-ws
394
- GETH_VERSION : v1.9.19
427
+ GETH_VERSION : v1.10.1
395
428
396
429
# py38-integration-parity-ipc:
397
430
# <<: *parity_steps
@@ -432,11 +465,11 @@ jobs:
432
465
<< : *common
433
466
docker :
434
467
- image : circleci/python:3.8
435
- environment :
436
- TOXENV : py38-wheel-cli
468
+ environment :
469
+ TOXENV : py38-wheel-cli
437
470
438
471
workflows :
439
- version : 2
472
+ version : 2.1
440
473
test :
441
474
jobs :
442
475
# These are the longest running tests, start them first
@@ -447,29 +480,30 @@ workflows:
447
480
- docs
448
481
- py36-ens
449
482
- py36-ethpm
450
- - py36-integration-goethereum-ipc-1.9.19
451
- - py36-integration-goethereum-http-1.9.19
452
- - py36-integration-goethereum-ws-1.9.19
483
+ - py36-integration-goethereum-ipc
484
+ - py36-integration-goethereum-http
485
+ - py36-integration-goethereum-ws
453
486
# - py36-integration-parity-ipc
454
487
# - py36-integration-parity-http
455
488
# - py36-integration-parity-ws
456
489
- py36-integration-ethtester-pyevm
457
490
- py36-wheel-cli
458
491
- py37-ens
459
492
- py37-ethpm
460
- - py37-integration-goethereum-ipc-1.9.19
461
- - py37-integration-goethereum-http-1.9.19
462
- - py37-integration-goethereum-ws-1.9.19
493
+ - py37-integration-goethereum-ipc
494
+ - py37-integration-goethereum-http
495
+ - py37-integration-goethereum-ws
463
496
# - py37-integration-parity-ipc
464
497
# - py37-integration-parity-http
465
498
# - py37-integration-parity-ws
466
499
- py37-integration-ethtester-pyevm
467
500
- py37-wheel-cli
501
+ - py37-wheel-cli-windows
468
502
- py38-ens
469
503
- py38-ethpm
470
- - py38-integration-goethereum-ipc-1.9.19
471
- - py38-integration-goethereum-http-1.9.19
472
- - py38-integration-goethereum-ws-1.9.19
504
+ - py38-integration-goethereum-ipc
505
+ - py38-integration-goethereum-http
506
+ - py38-integration-goethereum-ws
473
507
# - py38-integration-parity-ipc
474
508
# - py38-integration-parity-http
475
509
# - py38-integration-parity-ws
0 commit comments