Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e291a5

Browse files
committed
try a bunch of things
1 parent 2579045 commit 7e291a5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

circle.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ dependencies:
2929
# install jupyter test JS requirements
3030
- cd ${PLOTLY_JUPYTER_TEST_DIR} && npm i
3131

32-
3332
cache_directories:
3433

3534
- "~/.pyenv/versions" # attempt to just cache installed pyenv things
@@ -49,7 +48,6 @@ test:
4948
- sudo chmod -R 777 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
5049

5150
# test core things in the general 2.7 version that circle has
52-
- export PYENV_VERSION=python2
53-
- nosetests -x plotly/tests/test_core --with-coverage --cover-package=plotly
51+
- export PYENV_VERSION=python2 && nosetests -x plotly/tests/test_core --with-coverage --cover-package=plotly
5452
- mkdir "${CIRCLE_ARTIFACTS}/2.7" || true
5553
- coverage html -d "${CIRCLE_ARTIFACTS}/2.7" --title=2.7

circle/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
3131
echo "${SIG} Running: python -c 'import sys; print(sys.version)'. We've got:"
3232
python -c 'import sys; print(sys.version)'
3333

34-
3534
echo "${SIG} Install plotly (ignoring possibly cached versions)."
3635
pip install -I ${PLOTLY_PACKAGE_ROOT} >/dev/null ||
3736
error_exit "${SIG} ${LINENO}: can't install plotly package from project root"

plotly/tests/test_core/test_jupyter/test_jupyter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ def setUp(self):
2929

3030
if 'PYENV_VERSION' in environ:
3131
kernel_name = environ['PYENV_VERSION']
32+
print(kernel_name)
3233
self.ep = ExecutePreprocessor(timeout=600, kernel_name=kernel_name)
3334
else:
35+
print('no kernel found in environment')
3436
self.ep = ExecutePreprocessor(timeout=600)
3537

3638
self.html_exporter = HTMLExporter()

0 commit comments

Comments
 (0)