Add retries for travis builds