Skip to content

Commit

Permalink
Fix exit status if dir already exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
theengineear committed Nov 18, 2014
1 parent 394c8af commit fce977e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ test:

# test core things in the general 2.7 version that circle has
- nosetests -xv plotly/tests --with-coverage --cover-package=plotly
- mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
- mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" || true
- coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
2 changes: 1 addition & 1 deletion circle/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for version in ${PLOTLY_PYTHON_VERSIONS[@]}; do
echo "running tests for Python ${version} as user '$(whoami)'"
nosetests -xv plotly/tests --with-coverage --cover-package=plotly ||
error_exit "${LINENO}: test suite failed for Python ${version}"
mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"
mkdir "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}" || true
coverage html -d "${CIRCLE_ARTIFACTS}/${PYENV_VERSION}"

done

0 comments on commit fce977e

Please sign in to comment.