Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Travis: Fix rate-limit issue with Github requests #6564
Using credentials avoids rate-limiting based on Travis's IP address
Sometimes curl commands against the Github API fail. Turns out this is caused by rate-limiting when credentials aren't provided, which is then based on Travis's IP address. Always using credentials even for GETs to public endpoints fixes the problem.
Note, this isn't high priority since right now we're only using uncredentialed GETs in status messages.
Pull request type
Build number : 1695
Build number : 1328