Skip to content
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

Travis via fastlane #57

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

KieranHarper
Copy link
Contributor

Hi John, I think this project is great and I'm looking at things that would take even more steps away from the average developer's initial workflow.

This is a TravisCI + Fastlane combo, which in my experience it works a treat for simplifying the commands needed to build and test (without even getting into all the other delivery related goodies that are on offer). As you can see in the travis config, the advantage of using Fastlane for this purpose is that the entry point is dead simple and should make it easy to add other CI services as well.

Specifically the Fastlane script exercises all 3 test targets and also builds the watch one. If someone wants to remove a target because they're not supporting it they just delete the relevant scan step. Any more iOS devices can be easily added and I've left some examples commented out.

Lemme know what you think!

The test lane does a regular build for the watchOS target (because there aren't any tests), then does a build+test (aka scan) step for the other 3 targets. Unwanted targets can be removed and extra iOS devices can be added easily. Useful for CI because all you have to do is run `fastlane test`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant