Skip to content

Commit 8cd7e96

Browse files
committed
add requirements for jupyter test on circleci
1 parent 3759ba1 commit 8cd7e96

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

circle.yml

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ machine:
77
PLOTLY_PYTHON_VERSIONS: 2.7.8 3.3.3 3.4.1
88
PLOTLY_CORE_REQUIREMENTS_FILE: ${PLOTLY_PACKAGE_ROOT}/requirements.txt
99
PLOTLY_OPTIONAL_REQUIREMENTS_FILE: ${PLOTLY_PACKAGE_ROOT}/optional-requirements.txt
10+
PLOTLY_JUPYTER_TEST_DIR: ${PLOTLY_PACKAGE_ROOT}/plotly/tests/test_core/test_jupyter
11+
12+
node:
13+
version: 4.2.1
1014

1115
dependencies:
1216

@@ -22,6 +26,9 @@ dependencies:
2226
# we need to cd out of the project root to ensure the install worked
2327
- cd ~ && python -c "import plotly"
2428

29+
# install jupyter test JS requirements
30+
- cd ${PLOTLY_JUPYTER_TEST_DIR} && npm i
31+
2532
cache_directories:
2633

2734
- "~/.pyenv/versions" # attempt to just cache installed pyenv things

optional-requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ pandas
2424
## scipy deps for some FigureFactory functions ##
2525
scipy
2626

27+
## jupyter ##
28+
jupyter
29+
ipykernel

0 commit comments

Comments
 (0)