-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Xcode 7] Add types to collections in GT headers #516
Conversation
Awesome! As for Travis, the xcode7 image is only available for private repos. So this PR will need to wait to merge until that's available and we're ready to make this project require Xcode 7. I imagine both of these will happen on or shortly after September 9. |
That's totally fine to wait until the official Xcode 7 release before merging, I was kind of assuming that. The Travis CI folks actually made the xcode7 image available for OSS repos as well yesterday. I'm not sure why the build is failing. It was timing out during the Mac tests, but now when I added |
Oh, nice! Missed that we can now use Xcode 7. The build failed due to a 10m timeout waiting for the tests to finish. Seems like something got stuck as this build ran for 28m before being terminated while other builds take around ~20m. Looks like the tests typically take 2.5m. We just recently got Travis builds going again. #495 resolved the original timeout issues, but it's possible that something is different now with Xcode 7 and/or the updated versions of Quick/Nimble. I'm not sure what's going on so I've emailed Travis support to see if they can help. |
Thanks for emailing Travis about this. I'll keep checking for further updates to the Nimble/Quick projects in case those are related to the timeout. FWIW, I ran the ObjectiveGit Mac tests locally in Xcode, and they passed. Figured I'd add that data point in case it helps narrow down the source of the issue. |
Got a response from Travis:
|
Awesome, thanks! Trying it out now. |
https://twitter.com/grayj_/status/623082333898313728 So with the updated Travis image using the Xcode 7 GM and a newer version of xctool, the tests aren't timing out anymore. It looks like the new exception being raised might not be fixed until xctool is officially updated for Xcode 7: facebookarchive/xctool#528 |
It sounds like there may be a fix for Xcode 7 in the upcoming xctool 0.2.6, but I had trouble verifying whether it will address our issues. I built xctool using Xcode 7 GM, so that may have been the problem, but it just stalled out when the ObjectiveGit build started. @JrGoodle could you try building xctool from HEAD and see if the upcoming fixes will address these issues? We either need to wait for |
sure thing. I'll give |
I would definitely give xcodebuild + xcpretty a chance. I've only had problems with xctool in the past. |
After building |
I can tackle the |
I could do it, you are more of a programmer than I am 😆 |
haha, sounds good. there's obviously no rush on this generics thing, so I'll just keep watch for the ci script changes for Xcode 7. seems like quite a few projects may be going the way of |
Update Nimble to `master` branch and Quick to `swift-2.0` branch
Attempt to fix test timeouts with most recent commits on xctool's master branch
@phatblat After updating |
Contains commit related to Xcode7/xctool
Woah, nice work! 🎉 Can we remove the custom xctool install from |
It's still necessary at this point. There was a commit after the last release that fixed the timeout when the tests were run (I believe it was this one: facebookarchive/xctool@0f3ab7b). If you want to wait until the next official release before merging this so that custom install step can be removed that would be fine. |
Yeah, I'm nervous about leaving |
ok, understandable. hopefully they'll come out with a new release soon to get that fix out. I'll keep my eyes peeled for it. |
Really great work! |
#yolo |
[Xcode 7] Add types to collections in GT headers
Thanks again! Fantastic work. |
cool, thanks for posting that. it's not too often that warnings and errors are actually a nice thing to see. 😻 |
This adds support for generics with typed collections added in Xcode 7. The
.travis.yml
is updated to use the Xcode 7 beta images.