The issue is caused by GitHub API limit from travis IP addresses
{
"message": "API rate limit exceeded for 35.192.136.167. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "https://developer.github.com/v3/#rate-limiting"
}
The goal of this PR is to make the detection of the latest more resilient to API limiting issues.
I manually verified that this works by maning sure that I hit the rate limiting from my IP addresses and testing out the different steps
Coverage decreased (-0.1%) to 37.345% when pulling e04a833d30f3ab1879a88cb3537b701b7216ec1c on macisamuele:maci-make-github-api-usage-more-resilient into edd912d48184c3928f0bb6bc4a88b0edef10df6a on kennytm:master.
Coverage decreased (-0.1%) to 37.345% when pulling e04a833d30f3ab1879a88cb3537b701b7216ec1c on macisamuele:maci-make-github-api-usage-more-resilient into edd912d48184c3928f0bb6bc4a88b0edef10df6a on kennytm:master.
I'm recently having build failures (check jsonschema-validator travis build) due to failures in downloading and building
kcov
.The issue is caused by GitHub API limit from travis IP addresses
The goal of this PR is to make the detection of the latest more resilient to API limiting issues.
I manually verified that this works by maning sure that I hit the rate limiting from my IP addresses and testing out the different steps
FYI: @kennytm