@@ -15,14 +15,16 @@ jobs:
15
15
steps :
16
16
- checkout
17
17
- run :
18
- name : set up build environment
18
+ name : Set up build environment
19
19
command : .circleci/env_build.sh
20
20
- run :
21
21
name : Pretest
22
- command : |
23
- npm run pretest
24
- npm run cibuild
22
+ command : npm run pretest
23
+ - run :
24
+ name : CI-Build
25
+ command : npm run cibuild
25
26
- run :
27
+ name : Delete git
26
28
command : rm -rf .git
27
29
- persist_to_workspace :
28
30
root : /home/circleci
@@ -76,10 +78,10 @@ jobs:
76
78
- attach_workspace :
77
79
at : ~/
78
80
- run :
79
- name : install kaleido, plotly.io and required fonts
81
+ name : Install kaleido, plotly.io and required fonts
80
82
command : .circleci/env_image.sh
81
83
- run :
82
- name : create all png files
84
+ name : Create all png files
83
85
command : .circleci/test.sh make-baselines
84
86
- persist_to_workspace :
85
87
root : ~/
94
96
- attach_workspace :
95
97
at : ~/
96
98
- run :
97
- name : compare pixels
99
+ name : Compare pixels
98
100
command : .circleci/test.sh test-image ; find build -maxdepth 1 -type f -delete
99
101
- store_artifacts :
100
102
path : build
@@ -108,13 +110,13 @@ jobs:
108
110
- attach_workspace :
109
111
at : ~/
110
112
- run :
111
- name : install kaleido, plotly.io and required fonts
113
+ name : Install kaleido, plotly.io and required fonts
112
114
command : .circleci/env_image.sh
113
115
- run :
114
- name : install poppler-utils to have pdftops for exporting eps
116
+ name : Install poppler-utils to have pdftops for exporting eps
115
117
command : sudo apt-get install poppler-utils
116
118
- run :
117
- name : create svg, jpg, jpeg, webp, pdf and eps files
119
+ name : Create svg, jpg, jpeg, webp, pdf and eps files
118
120
command : python3 test/image/make_exports.py
119
121
- persist_to_workspace :
120
122
root : ~/
@@ -129,7 +131,7 @@ jobs:
129
131
- attach_workspace :
130
132
at : ~/
131
133
- run :
132
- name : test export sizes
134
+ name : Test export sizes
133
135
command : node test/image/export_test.js ; find build -maxdepth 1 -type f -delete
134
136
- store_artifacts :
135
137
path : build
@@ -179,8 +181,11 @@ jobs:
179
181
steps :
180
182
- checkout
181
183
- run :
182
- name : set up build environment
184
+ name : Set up build environment
183
185
command : .circleci/env_build.sh
186
+ - run :
187
+ name : Preview CHANGELOG for next release (only on master)
188
+ command : if [ $CIRCLE_BRANCH == "master" ]; then npm run use-draftlogs && git --no-pager diff --color-words CHANGELOG.md || true; fi
184
189
- run :
185
190
name : Build dist/
186
191
command : npm run build
0 commit comments