libgit2 / objective-git

Objective-C bindings to libgit2
MIT License
1.16k stars 280 forks source link

Build error on Travis CI #595

Closed thomaspaulmann closed 8 years ago

thomaspaulmann commented 8 years ago

I use Carthage to include Objective Git in my project Up N Down. Unfortunately travis is failing all the time caused on an error during xcodebuild of Objective Git with exit code 65.

Do you have any experience with this kind of error?

It doesn't matter if I use carthage bootstrapor carthage update.

pietbrauer commented 8 years ago

Shouldn't Carthage use the binary?

thomaspaulmann commented 8 years ago

Locally it does, on Travis it doesn't. So you haven't experience with that kind of error? Than I will forward it to the Carthage colleagues :-)

pietbrauer commented 8 years ago

You can use a GITHUB_ACCESS_TOKEN environment variable. Travis gets rate limited by the GitHub API so Carthage falls back to building it. Setting a personal access token as a secret environment variable should do the trick.

thomaspaulmann commented 8 years ago

Thanks for the suggestion! I'll give it a try and close the ticket as soon as the CI runs correctly. Sorry for bothering you instead of Carthage :-P

thomaspaulmann commented 8 years ago

Yeah, everything works fine after adding the github token and travis is greem again. Thank you very much!