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,12 +36,15 @@ jobs:
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
- - browser-tools/install-browser-tools : &browser-versions
42
+ - run : sudo apt-get update
43
+ - browser-tools/install-browser-tools :
59
44
install-firefox : false
60
45
install-geckodriver : false
46
+ install-chrome : true
47
+ chrome-version : " 127.0.6533.119"
61
48
- attach_workspace :
62
49
at : ~/
63
50
- run :
@@ -84,16 +71,19 @@ jobs:
84
71
no-gl-jasmine :
85
72
docker :
86
73
# need '-browsers' version to test in real (xvfb-wrapped) browsers
87
- - image : cimg/node:16.17.1 -browsers
74
+ - image : cimg/node:18.20.4 -browsers
88
75
environment :
89
76
# Alaska time (arbitrary timezone to test date logic)
90
77
TZ : " America/Anchorage"
91
78
parallelism : 12
92
79
working_directory : ~/plotly.js
93
80
steps :
94
- - browser-tools/install-browser-tools : &browser-versions
81
+ - run : sudo apt-get update
82
+ - browser-tools/install-browser-tools :
95
83
install-firefox : false
96
84
install-geckodriver : false
85
+ install-chrome : true
86
+ chrome-version : " 127.0.6533.119"
97
87
- attach_workspace :
98
88
at : ~/
99
89
- run :
@@ -103,16 +93,19 @@ jobs:
103
93
webgl-jasmine :
104
94
docker :
105
95
# need '-browsers' version to test in real (xvfb-wrapped) browsers
106
- - image : cimg/node:16.17.1 -browsers
96
+ - image : cimg/node:18.20.4 -browsers
107
97
environment :
108
98
# Alaska time (arbitrary timezone to test date logic)
109
99
TZ : " America/Anchorage"
110
100
parallelism : 8
111
101
working_directory : ~/plotly.js
112
102
steps :
113
- - browser-tools/install-browser-tools : &browser-versions
103
+ - run : sudo apt-get update
104
+ - browser-tools/install-browser-tools :
114
105
install-firefox : false
115
106
install-geckodriver : false
107
+ install-chrome : true
108
+ chrome-version : " 127.0.6533.119"
116
109
- attach_workspace :
117
110
at : ~/
118
111
- run :
@@ -122,16 +115,19 @@ jobs:
122
115
virtual-webgl-jasmine :
123
116
docker :
124
117
# need '-browsers' version to test in real (xvfb-wrapped) browsers
125
- - image : cimg/node:16.17.1 -browsers
118
+ - image : cimg/node:18.20.4 -browsers
126
119
environment :
127
120
# Alaska time (arbitrary timezone to test date logic)
128
121
TZ : " America/Anchorage"
129
122
parallelism : 8
130
123
working_directory : ~/plotly.js
131
124
steps :
132
- - browser-tools/install-browser-tools : &browser-versions
125
+ - run : sudo apt-get update
126
+ - browser-tools/install-browser-tools :
133
127
install-firefox : false
134
128
install-geckodriver : false
129
+ install-chrome : true
130
+ chrome-version : " 127.0.6533.119"
135
131
- attach_workspace :
136
132
at : ~/
137
133
- run :
@@ -141,15 +137,18 @@ jobs:
141
137
flaky-no-gl-jasmine :
142
138
docker :
143
139
# need '-browsers' version to test in real (xvfb-wrapped) browsers
144
- - image : cimg/node:16.17.1 -browsers
140
+ - image : cimg/node:18.20.4 -browsers
145
141
environment :
146
142
# Alaska time (arbitrary timezone to test date logic)
147
143
TZ : " America/Anchorage"
148
144
working_directory : ~/plotly.js
149
145
steps :
150
- - browser-tools/install-browser-tools : &browser-versions
146
+ - run : sudo apt-get update
147
+ - browser-tools/install-browser-tools :
151
148
install-firefox : false
152
149
install-geckodriver : false
150
+ install-chrome : true
151
+ chrome-version : " 127.0.6533.119"
153
152
- attach_workspace :
154
153
at : ~/
155
154
- run :
@@ -159,79 +158,44 @@ jobs:
159
158
bundle-jasmine :
160
159
docker :
161
160
# need '-browsers' version to test in real (xvfb-wrapped) browsers
162
- - image : cimg/node:16.17.1 -browsers
161
+ - image : cimg/node:18.20.4 -browsers
163
162
environment :
164
163
# Alaska time (arbitrary timezone to test date logic)
165
164
TZ : " America/Anchorage"
166
165
working_directory : ~/plotly.js
167
166
steps :
168
- - browser-tools/install-browser-tools : &browser-versions
167
+ - run : sudo apt-get update
168
+ - browser-tools/install-browser-tools :
169
169
install-firefox : false
170
170
install-geckodriver : false
171
+ install-chrome : true
172
+ chrome-version : " 127.0.6533.119"
171
173
- attach_workspace :
172
174
at : ~/
173
175
- run :
174
176
name : Run jasmine tests (part D)
175
177
command : .circleci/test.sh bundle-jasmine
176
178
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
179
mathjax-firefoxLatest :
216
180
docker :
217
181
# need '-browsers' version to test in real (xvfb-wrapped) browsers
218
- - image : cimg/node:16.17.1 -browsers
182
+ - image : cimg/node:18.20.4 -browsers
219
183
environment :
220
184
# Alaska time (arbitrary timezone to test date logic)
221
185
TZ : " America/Anchorage"
222
186
working_directory : ~/plotly.js
223
187
steps :
224
- - browser-tools/install-browser-tools : &browser-versions
188
+ - browser-tools/install-browser-tools :
225
189
install-chrome : false
226
190
install-chromedriver : false
227
191
- attach_workspace :
228
192
at : ~/
229
193
- run :
230
194
name : Test MathJax on firefox-latest
231
- command : .circleci/test.sh mathjax-firefox82+
195
+ command : .circleci/test.sh mathjax-firefox
232
196
233
197
make-baselines-virtual-webgl :
234
- parallelism : 4
198
+ parallelism : 8
235
199
docker :
236
200
- image : circleci/python:3.8.9
237
201
working_directory : ~/plotly.js
@@ -268,7 +232,7 @@ jobs:
268
232
- plotly.js
269
233
270
234
make-baselines :
271
- parallelism : 4
235
+ parallelism : 12
272
236
docker :
273
237
- image : circleci/python:3.8.9
274
238
working_directory : ~/plotly.js
@@ -287,7 +251,7 @@ jobs:
287
251
- plotly.js
288
252
289
253
make-baselines-b64 :
290
- parallelism : 4
254
+ parallelism : 12
291
255
docker :
292
256
- image : circleci/python:3.8.9
293
257
working_directory : ~/plotly.js
@@ -307,7 +271,7 @@ jobs:
307
271
308
272
test-baselines :
309
273
docker :
310
- - image : circleci /node:16.9.0
274
+ - image : cimg /node:18.20.4
311
275
working_directory : ~/plotly.js
312
276
steps :
313
277
- attach_workspace :
@@ -321,7 +285,7 @@ jobs:
321
285
322
286
test-baselines-virtual-webgl :
323
287
docker :
324
- - image : circleci /node:16.9.0
288
+ - image : cimg /node:18.20.4
325
289
working_directory : ~/plotly.js
326
290
steps :
327
291
- attach_workspace :
@@ -335,7 +299,7 @@ jobs:
335
299
336
300
test-baselines-b64 :
337
301
docker :
338
- - image : circleci /node:16.9.0
302
+ - image : cimg /node:18.20.4
339
303
working_directory : ~/plotly.js
340
304
steps :
341
305
- attach_workspace :
@@ -349,7 +313,7 @@ jobs:
349
313
350
314
test-baselines-mathjax3 :
351
315
docker :
352
- - image : circleci /node:16.9.0
316
+ - image : cimg /node:18.20.4
353
317
working_directory : ~/plotly.js
354
318
steps :
355
319
- attach_workspace :
@@ -374,8 +338,8 @@ jobs:
374
338
- run :
375
339
name : Install poppler-utils to have pdftops for exporting eps
376
340
command : |
377
- sudo apt-get update --allow-releaseinfo-change
378
- sudo apt-get install poppler-utils
341
+ sudo apt-get update --allow-releaseinfo-change
342
+ sudo apt-get install poppler-utils
379
343
- run :
380
344
name : Create svg, jpg, jpeg, webp, pdf and eps files
381
345
command : python3 test/image/make_exports.py
@@ -386,7 +350,7 @@ jobs:
386
350
387
351
test-exports :
388
352
docker :
389
- - image : circleci /node:16.9.0
353
+ - image : cimg /node:18.20.4
390
354
working_directory : ~/plotly.js
391
355
steps :
392
356
- attach_workspace :
@@ -400,7 +364,7 @@ jobs:
400
364
401
365
mock-validation :
402
366
docker :
403
- - image : cimg/node:16.17.1
367
+ - image : cimg/node:18.20.4
404
368
working_directory : ~/plotly.js
405
369
steps :
406
370
- attach_workspace :
@@ -414,7 +378,7 @@ jobs:
414
378
415
379
source-syntax :
416
380
docker :
417
- - image : cimg/node:16.17.1
381
+ - image : cimg/node:18.20.4
418
382
working_directory : ~/plotly.js
419
383
steps :
420
384
- attach_workspace :
@@ -425,7 +389,7 @@ jobs:
425
389
426
390
publish-dist :
427
391
docker :
428
- - image : cimg/node:16.17.1
392
+ - image : cimg/node:18.20.4
429
393
working_directory : ~/plotly.js
430
394
steps :
431
395
- checkout
@@ -486,16 +450,10 @@ jobs:
486
450
- run :
487
451
name : Test plotly.min.js import using requirejs
488
452
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
453
496
454
test-stackgl-bundle :
497
455
docker :
498
- - image : cimg/node:16.17.1
456
+ - image : cimg/node:18.20.4
499
457
working_directory : ~/plotly.js
500
458
steps :
501
459
- checkout
@@ -516,21 +474,13 @@ workflows:
516
474
version : 2
517
475
build-and-test :
518
476
jobs :
519
- - install-and-cibuild-node12
520
-
521
477
- install-and-cibuild
522
478
- timezone-jasmine :
523
479
requires :
524
480
- install-and-cibuild
525
481
- bundle-jasmine :
526
482
requires :
527
483
- install-and-cibuild
528
- - mathjax-firefox81 :
529
- requires :
530
- - install-and-cibuild
531
- - mathjax-firefox82 :
532
- requires :
533
- - install-and-cibuild
534
484
- mathjax-firefoxLatest :
535
485
requires :
536
486
- install-and-cibuild
0 commit comments