Skip to content

Commit

Permalink
Merge pull request #6434 from cmonr/correct-apt-get-retrying
Browse files Browse the repository at this point in the history
Modified apt-get retry logic with Travis CI retry feature
  • Loading branch information
cmonr committed Mar 23, 2018
2 parents cffa1c0 + fa8020e commit 0a0cc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -40,7 +40,7 @@ before_install:
# Setup ppa to make sure arm-none-eabi-gcc is correct version
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
# Loop until update succeeds (timeouts can occur)
- while [ -n "$(sudo apt-get update 2>&1 |grep Failed)" ]; do :; done
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)

after_success:
- bash -c "$STATUS" success "Local $NAME testing has passed"
Expand Down

0 comments on commit 0a0cc58

Please sign in to comment.