Skip to content

Travis via fastlane#57

Open
KieranHarper wants to merge 4 commits intoJohnSundell:masterfrom
KieranHarper:travis+fastlane
Open

Travis via fastlane#57
KieranHarper wants to merge 4 commits intoJohnSundell:masterfrom
KieranHarper:travis+fastlane

Conversation

@KieranHarper
Copy link
Copy Markdown
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