travis: Add a networking retry for codecov installation.

This commit is contained in:
Tim Abbott 2017-08-27 19:07:02 -07:00
parent 2d11a67975
commit 480d642eff
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ install:
- mispipe "mv ~/.nvm ~/.travis-nvm-disabled" ts
# Install codecov, the library for the code coverage reporting tool we use
- mispipe "pip install codecov" ts
# With a retry to minimize impact of transient networking errors.
- mispipe "pip install codecov" ts || mispipe "pip install codecov" ts
# This is the main setup job for the test suite
- mispipe "tools/travis/setup-$TEST_SUITE" ts