-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use bundler to manage CocoaPods and xcpretty #57
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks! |
Hm. I signed the cla for #51, and it won't let me sign again. |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@benasher44 updated the pull request - view changes |
@benasher44 don't worry about the CLA bot, once you signed once you should be g2g from then on. Since I'm a TravisCI noob I'm gonna ask @jessesquires to take a quick look at this. |
Ah yep it responded shortly after. Thanks! |
Looks like the output still contains this after moving
This build still passes, so this is mostly just annoying because |
@benasher44 updated the pull request - view changes |
this LGTM except travis is still not happy |
@benasher44 updated the pull request - view changes |
Wow. still waiting on travis. First build has timed out. Also:
😢 |
Yeah… I'm not sure what else to do to make that go away. It's trying to print As for the timeout, it looks like it's timing out during code signing. Code signing probably isn't needed here, since we just want to verify that it builds and tests pass. I'm going to try disabling that. I've tried this with travis before the Xcode 8 GM was released, and it caused issues. Maybe it's fixed now? |
Luckily, even though that message is in red, it doesn't fail the build. Here's a passing one: https://travis-ci.org/Instagram/IGListKit/jobs/167060407 |
Nice, I wonder if we can make any subscription updates to Travis to get higher pri queues... @jessesquires think we're g2g here? |
Are the timeouts a new issue in this PR or existing? |
Ah looks like existing: https://travis-ci.org/Instagram/IGListKit/builds/167080863. This is good to go in terms of fixing Quick question though. I just realized this is doing |
@benasher44 updated the pull request - view changes |
Tried locally disabling code signing with CODE_SIGNING_ALLOWED=NO, and the tests failed to bootstrap every time. CODE_SIGNING_REQUIRED=NO seemed to work though, and it appeared to skip the signing step for tests. So maybe less hanging now? |
@benasher44 updated the pull request - view changes |
Despite CODE_SIGNING_REQUIRED changes, there is still plenty of code signing happening. 🔥 This might be a red herring anyway, since the thing that happens right after code signing is starting the tests. It might just be hanging waiting for the simulator. Anyway, I think I'm out of things I want to try in this PR. |
😆 Thanks for all the help so far @benasher44 ! 🙌 I've been fighting with travis-ci timeouts since the upgrade to Xcode8. No idea whats going on, but all of my builds for other projects timeout for every single iOS 8 build. /shrug |
No prob! There are a few tickets floating around about Xcode 8 Travis things, but I hadn't seen a response yet. So, good to see a response from Travis! |
Early on, I found that only the iPhone SE destination worked reliably on Travis. This may or may not still be the case. It might be worth adding that one in or replacing one of the existing destinations, so that if that or another seems consistent, at least you have one simulator that always works to keep PRs going. |
There's still the unanswered question of |
Checks local files instead of the version in the spec
@benasher44 updated the pull request - view changes |
Ah thought previous comment had a thumbs up, but it was the one before that. Let me know, and I'll revert. |
Sounds good to me! 👍 |
Sweet, I think we're g2g here. We can resolve Travis infra timeout issues down the road if they come up. |
Thanks for importing. If you are a Facebook employee, you can view this diff on Phabricator. |
Yup! I agree. |
Summary: - Travis appears to be using CocoaPods 1.1.0.beta.2, which is missing some fixes for Xcode 8 (see [sample failing build](https://travis-ci.org/Instagram/IGListKit/jobs/166935850) from Instagram#51). - This change will ensure that a consistent CocoaPods version is used by Travis - In the added Gemfile, I picked the latest CocoaPods 1.1.0 RC (matches version in Podfile.lock) and the latest xcpretty. - Changed `pod spec lint` to `pod lib lint` to verify local files instead of files from the version specified in the spec. - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/CONTRIBUTING.md) Closes Instagram#57 Differential Revision: D4019655 Pulled By: rnystrom fbshipit-source-id: 422e55c44dfdf276b587ea6e12ae30218a237ff5
Changes in this pull request
pod spec lint
topod lib lint
to verify local files instead of files from the version specified in the spec.Pull request checklist