jenkins-bot has submitted this change and it was merged.
Change subject: [IMPROV] Travis: Set the number of retries to 2 ......................................................................
[IMPROV] Travis: Set the number of retries to 2
To prevent erroring builds because of problems with servers, Travis shouldn't retry 25 times and wait so long for it that it get's killed.
Change-Id: I94a5c4ae5812f756b1e5f01a4f0d754b2438a1e6 --- M .travis.yml 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/.travis.yml b/.travis.yml index 32df44d..2eee812 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ - echo "usernames['wikipedia']['test'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py - echo "usernames['wikidata']['test'] = 'Pywikibot-test'" >> ~/.pywikibot/user-config.py - echo "password_file = os.path.expanduser('~/.pywikibot/passwordfile')" >> ~/.pywikibot/user-config.py + - echo "max_retries = 2" >> ~/.pywikibot/user-config.py
- touch ~/.pywikibot/passwordfile - echo "('Pywikibot-test', '"$USER_PASSWORD"')" > ~/.pywikibot/passwordfile