10
10
# https://hub.docker.com/r/cimg/node/tags/
11
11
12
12
jobs :
13
- install-and-cibuild-node12 : # cibuild using node 12 & npm 6
13
+ install-and-cibuild :
14
14
docker :
15
- - image : cimg/node:12.22.7
16
- working_directory : ~/plotly.js
17
- steps :
18
- - checkout
19
- - run :
20
- name : Set up build environment
21
- command : .circleci/env_build.sh
22
- - run :
23
- name : Pretest
24
- command : npm run pretest
25
- - run :
26
- name : CI-Build
27
- command : npm run cibuild
28
-
29
- install-and-cibuild : # main cibuild using node 16 & npm 7
30
- docker :
31
- - image : cimg/node:16.17.1
15
+ - image : cimg/node:18.20.4
32
16
working_directory : ~/plotly.js
33
17
steps :
34
18
- checkout
52
36
timezone-jasmine :
53
37
docker :
54
38
# need '-browsers' version to test in real (xvfb-wrapped) browsers
55
- - image : cimg/node:16.17.1 -browsers
39
+ - image : cimg/node:18.20.4 -browsers
56
40
working_directory : ~/plotly.js
57
41
steps :
58
42
- browser-tools/install-browser-tools : &browser-versions
84
68
no-gl-jasmine :
85
69
docker :
86
70
# need '-browsers' version to test in real (xvfb-wrapped) browsers
87
- - image : cimg/node:16.17.1 -browsers
71
+ - image : cimg/node:18.20.4 -browsers
88
72
environment :
89
73
# Alaska time (arbitrary timezone to test date logic)
90
74
TZ : " America/Anchorage"
103
87
webgl-jasmine :
104
88
docker :
105
89
# need '-browsers' version to test in real (xvfb-wrapped) browsers
106
- - image : cimg/node:16.17.1 -browsers
90
+ - image : cimg/node:18.20.4 -browsers
107
91
environment :
108
92
# Alaska time (arbitrary timezone to test date logic)
109
93
TZ : " America/Anchorage"
@@ -122,7 +106,7 @@ jobs:
122
106
virtual-webgl-jasmine :
123
107
docker :
124
108
# need '-browsers' version to test in real (xvfb-wrapped) browsers
125
- - image : cimg/node:16.17.1 -browsers
109
+ - image : cimg/node:18.20.4 -browsers
126
110
environment :
127
111
# Alaska time (arbitrary timezone to test date logic)
128
112
TZ : " America/Anchorage"
@@ -141,7 +125,7 @@ jobs:
141
125
flaky-no-gl-jasmine :
142
126
docker :
143
127
# need '-browsers' version to test in real (xvfb-wrapped) browsers
144
- - image : cimg/node:16.17.1 -browsers
128
+ - image : cimg/node:18.20.4 -browsers
145
129
environment :
146
130
# Alaska time (arbitrary timezone to test date logic)
147
131
TZ : " America/Anchorage"
@@ -159,7 +143,7 @@ jobs:
159
143
bundle-jasmine :
160
144
docker :
161
145
# need '-browsers' version to test in real (xvfb-wrapped) browsers
162
- - image : cimg/node:16.17.1 -browsers
146
+ - image : cimg/node:18.20.4 -browsers
163
147
environment :
164
148
# Alaska time (arbitrary timezone to test date logic)
165
149
TZ : " America/Anchorage"
@@ -174,48 +158,10 @@ jobs:
174
158
name : Run jasmine tests (part D)
175
159
command : .circleci/test.sh bundle-jasmine
176
160
177
- mathjax-firefox81 :
178
- docker :
179
- # need '-browsers' version to test in real (xvfb-wrapped) browsers
180
- - image : cimg/node:16.17.1-browsers
181
- environment :
182
- # Alaska time (arbitrary timezone to test date logic)
183
- TZ : " America/Anchorage"
184
- working_directory : ~/plotly.js
185
- steps :
186
- - browser-tools/install-browser-tools : &browser-versions
187
- firefox-version : ' 81.0'
188
- install-chrome : false
189
- install-chromedriver : false
190
- - attach_workspace :
191
- at : ~/
192
- - run :
193
- name : Test MathJax on firefox-81
194
- command : .circleci/test.sh mathjax-firefox
195
-
196
- mathjax-firefox82 :
197
- docker :
198
- # need '-browsers' version to test in real (xvfb-wrapped) browsers
199
- - image : cimg/node:16.17.1-browsers
200
- environment :
201
- # Alaska time (arbitrary timezone to test date logic)
202
- TZ : " America/Anchorage"
203
- working_directory : ~/plotly.js
204
- steps :
205
- - browser-tools/install-browser-tools : &browser-versions
206
- firefox-version : ' 82.0'
207
- install-chrome : false
208
- install-chromedriver : false
209
- - attach_workspace :
210
- at : ~/
211
- - run :
212
- name : Test MathJax on firefox-82
213
- command : .circleci/test.sh mathjax-firefox82+
214
-
215
161
mathjax-firefoxLatest :
216
162
docker :
217
163
# need '-browsers' version to test in real (xvfb-wrapped) browsers
218
- - image : cimg/node:16.17.1 -browsers
164
+ - image : cimg/node:18.20.4 -browsers
219
165
environment :
220
166
# Alaska time (arbitrary timezone to test date logic)
221
167
TZ : " America/Anchorage"
@@ -228,10 +174,10 @@ jobs:
228
174
at : ~/
229
175
- run :
230
176
name : Test MathJax on firefox-latest
231
- command : .circleci/test.sh mathjax-firefox82+
177
+ command : .circleci/test.sh mathjax-firefox
232
178
233
179
make-baselines-virtual-webgl :
234
- parallelism : 4
180
+ parallelism : 8
235
181
docker :
236
182
- image : circleci/python:3.8.9
237
183
working_directory : ~/plotly.js
@@ -268,7 +214,7 @@ jobs:
268
214
- plotly.js
269
215
270
216
make-baselines :
271
- parallelism : 4
217
+ parallelism : 12
272
218
docker :
273
219
- image : circleci/python:3.8.9
274
220
working_directory : ~/plotly.js
@@ -287,7 +233,7 @@ jobs:
287
233
- plotly.js
288
234
289
235
make-baselines-b64 :
290
- parallelism : 4
236
+ parallelism : 12
291
237
docker :
292
238
- image : circleci/python:3.8.9
293
239
working_directory : ~/plotly.js
@@ -307,7 +253,7 @@ jobs:
307
253
308
254
test-baselines :
309
255
docker :
310
- - image : circleci /node:16.9.0
256
+ - image : cimg /node:18.20.4
311
257
working_directory : ~/plotly.js
312
258
steps :
313
259
- attach_workspace :
@@ -321,7 +267,7 @@ jobs:
321
267
322
268
test-baselines-virtual-webgl :
323
269
docker :
324
- - image : circleci /node:16.9.0
270
+ - image : cimg /node:18.20.4
325
271
working_directory : ~/plotly.js
326
272
steps :
327
273
- attach_workspace :
@@ -335,7 +281,7 @@ jobs:
335
281
336
282
test-baselines-b64 :
337
283
docker :
338
- - image : circleci /node:16.9.0
284
+ - image : cimg /node:18.20.4
339
285
working_directory : ~/plotly.js
340
286
steps :
341
287
- attach_workspace :
@@ -349,7 +295,7 @@ jobs:
349
295
350
296
test-baselines-mathjax3 :
351
297
docker :
352
- - image : circleci /node:16.9.0
298
+ - image : cimg /node:18.20.4
353
299
working_directory : ~/plotly.js
354
300
steps :
355
301
- attach_workspace :
@@ -374,8 +320,8 @@ jobs:
374
320
- run :
375
321
name : Install poppler-utils to have pdftops for exporting eps
376
322
command : |
377
- sudo apt-get update --allow-releaseinfo-change
378
- sudo apt-get install poppler-utils
323
+ sudo apt-get update --allow-releaseinfo-change
324
+ sudo apt-get install poppler-utils
379
325
- run :
380
326
name : Create svg, jpg, jpeg, webp, pdf and eps files
381
327
command : python3 test/image/make_exports.py
@@ -386,7 +332,7 @@ jobs:
386
332
387
333
test-exports :
388
334
docker :
389
- - image : circleci /node:16.9.0
335
+ - image : cimg /node:18.20.4
390
336
working_directory : ~/plotly.js
391
337
steps :
392
338
- attach_workspace :
@@ -400,7 +346,7 @@ jobs:
400
346
401
347
mock-validation :
402
348
docker :
403
- - image : cimg/node:16.17.1
349
+ - image : cimg/node:18.20.4
404
350
working_directory : ~/plotly.js
405
351
steps :
406
352
- attach_workspace :
@@ -414,7 +360,7 @@ jobs:
414
360
415
361
source-syntax :
416
362
docker :
417
- - image : cimg/node:16.17.1
363
+ - image : cimg/node:18.20.4
418
364
working_directory : ~/plotly.js
419
365
steps :
420
366
- attach_workspace :
@@ -425,7 +371,7 @@ jobs:
425
371
426
372
publish-dist :
427
373
docker :
428
- - image : cimg/node:16.17.1
374
+ - image : cimg/node:18.20.4
429
375
working_directory : ~/plotly.js
430
376
steps :
431
377
- checkout
@@ -486,16 +432,10 @@ jobs:
486
432
- run :
487
433
name : Test plotly.min.js import using requirejs
488
434
command : npm run test-requirejs
489
- - run :
490
- name : Test plotly bundles against es6
491
- command : npm run no-es6-dist
492
- - run :
493
- name : Display function constructors in all bundles
494
- command : npm run no-new-func
495
435
496
436
test-stackgl-bundle :
497
437
docker :
498
- - image : cimg/node:16.17.1
438
+ - image : cimg/node:18.20.4
499
439
working_directory : ~/plotly.js
500
440
steps :
501
441
- checkout
@@ -516,21 +456,13 @@ workflows:
516
456
version : 2
517
457
build-and-test :
518
458
jobs :
519
- - install-and-cibuild-node12
520
-
521
459
- install-and-cibuild
522
460
- timezone-jasmine :
523
461
requires :
524
462
- install-and-cibuild
525
463
- bundle-jasmine :
526
464
requires :
527
465
- install-and-cibuild
528
- - mathjax-firefox81 :
529
- requires :
530
- - install-and-cibuild
531
- - mathjax-firefox82 :
532
- requires :
533
- - install-and-cibuild
534
466
- mathjax-firefoxLatest :
535
467
requires :
536
468
- install-and-cibuild
0 commit comments