Skip to content

Commit f5053a7

Browse files
committed
stay with .circleci version 2
1 parent 665b78d commit f5053a7

File tree

1 file changed

+137
-1
lines changed

1 file changed

+137
-1
lines changed

.circleci/config.yml

Lines changed: 137 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.1
1+
version: 2
22

33
commands:
44
test-core:
@@ -170,6 +170,141 @@ jobs:
170170
- test-optional:
171171
py: "39"
172172

173+
# python-3.6-optional:
174+
# docker:
175+
# - image: circleci/python:3.6-stretch-node-browsers
176+
#
177+
# steps:
178+
# - checkout
179+
# - run:
180+
# name: Install dependencies
181+
# command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_36_optional.txt"
182+
# - run:
183+
# name: Install plotly-geo
184+
# command: "cd packages/python/plotly-geo; sudo pip install -e ."
185+
# - run:
186+
# name: Test core
187+
# command: "cd packages/python/plotly; pytest plotly/tests/test_core"
188+
# no_output_timeout: 20m
189+
# - run:
190+
# name: Test optional
191+
# command: "cd packages/python/plotly; pytest plotly/tests/test_optional"
192+
# no_output_timeout: 40m
193+
# - run:
194+
# name: Test utils
195+
# command: "cd packages/python/plotly; pytest _plotly_utils/tests/"
196+
# no_output_timeout: 20m
197+
# - run:
198+
# name: Test io
199+
# command: "cd packages/python/plotly; pytest plotly/tests/test_io"
200+
# no_output_timeout: 20m
201+
#
202+
# python-3.7-optional:
203+
# docker:
204+
# - image: circleci/python:3.7-stretch-node-browsers
205+
#
206+
# steps:
207+
# - checkout
208+
# - run:
209+
# name: Install dependencies
210+
# command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_37_optional.txt"
211+
# - run:
212+
# name: Install plotly-geo
213+
# command: "cd packages/python/plotly-geo; sudo pip install -e ."
214+
# - run:
215+
# name: Test core
216+
# command: "cd packages/python/plotly; pytest plotly/tests/test_core"
217+
# no_output_timeout: 20m
218+
# - run:
219+
# name: Test optional
220+
# command: "cd packages/python/plotly; pytest plotly/tests/test_optional"
221+
# no_output_timeout: 40m
222+
# - run:
223+
# name: Test utils
224+
# command: "cd packages/python/plotly; pytest _plotly_utils/tests/"
225+
# no_output_timeout: 20m
226+
# - run:
227+
# name: Test io
228+
# command: "cd packages/python/plotly; pytest plotly/tests/test_io"
229+
# no_output_timeout: 20m
230+
# - run:
231+
# name: Test dependencdies not imported
232+
# command: "cd packages/python/plotly; pytest -x test_init/test_dependencies_not_imported.py"
233+
# - run:
234+
# name: Test lazy imports
235+
# command: "cd packages/python/plotly; pytest -x test_init/test_lazy_imports.py"
236+
#
237+
# python-3.8-optional:
238+
# docker:
239+
# - image: circleci/python:3.8-buster-node-browsers
240+
#
241+
# steps:
242+
# - checkout
243+
# - run:
244+
# name: Install dependencies
245+
# command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_38_optional.txt"
246+
# - run:
247+
# name: Install plotly-geo
248+
# command: "cd packages/python/plotly-geo; sudo pip install -e ."
249+
# - run:
250+
# name: Install orca
251+
# command: |
252+
# sudo npm install [email protected] sudo npm install orca
253+
# sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
254+
# echo 'export PATH="/home/circleci/project/node_modules/.bin:$PATH"' >> $BASH_ENV
255+
#
256+
## - run:
257+
## name: Test core
258+
## command: "cd packages/python/plotly; pytest plotly/tests/test_core"
259+
## no_output_timeout: 20m
260+
## - run:
261+
## name: Test optional
262+
## command: "cd packages/python/plotly; pytest plotly/tests/test_optional"
263+
## no_output_timeout: 40m
264+
## - run:
265+
## name: Test utils
266+
## command: "cd packages/python/plotly; pytest _plotly_utils/tests/"
267+
## no_output_timeout: 20m
268+
## - run:
269+
## name: Test io
270+
## command: "cd packages/python/plotly; pytest plotly/tests/test_io"
271+
## no_output_timeout: 20m
272+
# - run:
273+
# name: Test orca
274+
# command: "cd packages/python/plotly; pytest plotly/tests/test_orca"
275+
# no_output_timeout: 20m
276+
# - store_artifacts:
277+
# path: packages/python/plotly/plotly/tests/test_orca/images/linux/failed
278+
#
279+
# python-3.9-optional:
280+
# docker:
281+
# - image: circleci/python:3.9-buster-node-browsers
282+
#
283+
# steps:
284+
# - checkout
285+
# - run:
286+
# name: Install dependencies
287+
# command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_39_optional.txt"
288+
# - run:
289+
# name: Install plotly-geo
290+
# command: "cd packages/python/plotly-geo; sudo pip install -e ."
291+
# - run:
292+
# name: Test core
293+
# command: "cd packages/python/plotly; pytest plotly/tests/test_core"
294+
# no_output_timeout: 20m
295+
# - run:
296+
# name: Test optional
297+
# command: "cd packages/python/plotly; pytest plotly/tests/test_optional"
298+
# no_output_timeout: 40m
299+
# - run:
300+
# name: Test utils
301+
# command: "cd packages/python/plotly; pytest _plotly_utils/tests/"
302+
# no_output_timeout: 20m
303+
# - run:
304+
# name: Test io
305+
# command: "cd packages/python/plotly; pytest plotly/tests/test_io"
306+
# no_output_timeout: 20m
307+
173308
# Chart studio
174309
python-3.7-chart_studio:
175310
docker:
@@ -392,4 +527,5 @@ workflows:
392527
- python-3.8-optional
393528
# - python-3.9-optional
394529
# - python-3.7-chart_studio
530+
# - python-3-7-orca
395531
# - build-doc

0 commit comments

Comments
 (0)