Skip to content

Commit c4d1483

Browse files
committed
Travis: use codecov-bash
More lightweight to install, and will retry on upload failures.
1 parent 6635ace commit c4d1483

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ script:
3737
- tox
3838

3939
after_success:
40-
- pip install codecov
41-
- codecov
40+
# Upload coverage information for py* tox environments.
41+
- |
42+
if [ "${TOXENV#py}" != "$TOXENV" ]; then
43+
bash <(curl -s https://codecov.io/bash) -Z -F "${TOXENV//-/,}"
44+
fi
4245
4346
branches:
4447
only:

0 commit comments

Comments
 (0)