I am trying to enable Fastlane in a CI environment where the following should happen:
- any commit in the
master branch should run a test run and then build in Testflight . - any commit in the
development branch should run a test run and then build in Fabric Beta . - any other commit or pull request should trigger a test run.
Bands work with all code signed through match .
To avoid a double build, I build through Gym and then Scan with skip_build: true and clean: false , as indicated in # 3353 .
Although this seems to help with build time, due to the number of cocoapods dependencies, it goes over the 50-minute limit at travis-ci.org . (Remember to check the build logs)
How can this be improved in terms of runtime? (Besides fixing the slow compilation of Swift functions mentioned in # 3 )
For reference, here is the Fastfile .
swift travis-ci fastlane
Ivan Bruel
source share