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

Skip to content

Commit 94e7cfa

Browse files
committed
Enable coverage sending on pytest build
1 parent c93dff4 commit 94e7cfa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ script:
180180
pip install $PRE requests==2.9.2 linkchecker
181181
linkchecker build/html/index.html
182182
fi
183-
# Currently disabled because of differece in behaviour
184-
# between `pytest-cov` and `nose-coverage`
185-
#- if [[ $USE_PYTEST == true ]]; then coveralls; fi
186183
- rm -rf $HOME/.cache/matplotlib/tex.cache
187184
- rm -rf $HOME/.cache/matplotlib/test_cache
188185

@@ -223,6 +220,6 @@ after_success:
223220
else
224221
echo "Will only deploy docs build from matplotlib master branch"
225222
fi
226-
if [[ $NOSE_ARGS =~ "--with-coverage" ]]; then
223+
if [[ $NOSE_ARGS =~ "--with-coverage" || $USE_PYTEST == true ]]; then
227224
coveralls
228225
fi

0 commit comments

Comments
 (0)