File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 2828# - chmod 660 ${PLOTLY_CONFIG_DIR} && python -c "import plotly"
2929
3030 # test core things in the general 2.7 version that circle has
31- - nosetests -xv plotly/tests/test_core
31+ - nosetests -xv plotly/tests --with-coverage --cover-package=plotly
32+ - mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
33+ - coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
Original file line number Diff line number Diff line change @@ -40,13 +40,9 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
4040# error_exit "${LINENO}: permissions test 666 on .plotly dir failed"
4141
4242 echo " running tests for Python ${version} as user '$( whoami) '"
43- if [ ${version: 0: 3} == ' 2.7' ]
44- then
45- nosetests -xv plotly/tests --with-coverage --cover-package=plotly ||
46- error_exit " ${LINENO} : test suite failed for Python ${version} "
47- coverage html -d ${CIRCLE_ARTIFACTS}
48- else
49- nosetests -xv plotly/tests ||
50- error_exit " ${LINENO} : test suite failed for Python ${version} "
51- fi
43+ nosetests -xv plotly/tests --with-coverage --cover-package=plotly ||
44+ error_exit " ${LINENO} : test suite failed for Python ${version} "
45+ mkdir " ${CIRCLE_ARTIFACTS} /${PYENV_VERSION} "
46+ coverage html -d " ${CIRCLE_ARTIFACTS} /${PYENV_VERSION} "
47+
5248done
You can’t perform that action at this time.
0 commit comments