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

Skip to content

Commit fce977e

Browse files
committed
Fix exit status if dir already exists.
1 parent 394c8af commit fce977e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ test:
2929

3030
# test core things in the general 2.7 version that circle has
3131
- nosetests -xv plotly/tests --with-coverage --cover-package=plotly
32-
- mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
32+
- mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" || true
3333
- coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"

circle/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
4242
echo "running tests for Python ${version} as user '$(whoami)'"
4343
nosetests -xv plotly/tests --with-coverage --cover-package=plotly ||
4444
error_exit "${LINENO}: test suite failed for Python ${version}"
45-
mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
45+
mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" || true
4646
coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
4747

4848
done

0 commit comments

Comments
 (0)