Skip to content

Commit fe20a23

Browse files
committed
Always upload coverage on Travis.
1 parent 857d846 commit fe20a23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ after_failure:
196196
fi
197197
198198
after_success:
199+
- |
200+
if [[ $BUILD_DOCS == false ]]; then
201+
coveralls
202+
bash <(curl -s https://codecov.io/bash)
203+
fi
199204
- |
200205
if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
201206
cd $TRAVIS_BUILD_DIR
@@ -220,7 +225,3 @@ after_success:
220225
else
221226
echo "Will only deploy docs build from matplotlib master branch"
222227
fi
223-
if [[ $USE_PYTEST == true ]]; then
224-
coveralls
225-
bash <(curl -s https://codecov.io/bash)
226-
fi

0 commit comments

Comments
 (0)