Deploy an app automatically to testflight using travis ci.
- Copy the .travis.yml into your repo (replace app name, developer name and provisionin profile uuid)
- Create the folder "scripts/travis"
- Export the following things from the Keychain app
- "Apple Worldwide Developer Relations Certification Authority" into scripts/travis/apple.cer
- Your iPhone Distribution certificate into scripts/travis/dist.cer
- Your iPhone Distribution private key into scripts/travis/dist.p12 (choose a password)
- Execute
travis encrypt "KEY_PASSWORD=YOUR_KEY_PASSWORD" --add
- Execute
travis encrypt "TEAM_TOKEN=TESTFLIGHT_TEAM_TOKEN" --add
- Execute
travis encrypt "API_TOKEN=TESTFLIGHT_API_TOKEN" --add
- Copy add-key.sh, remove-key.sh and testflight.sh into scripts/travis
- Commit
Hey @neophit,
Yes and no. We want to add this but haven't had the time yet sorry. We also want to allow people to add certs or secure env vars in the UI and not have to store them in your git repo, but this is going to take longer.
If you would like to help out with this, in any shape or form, please email josh or henrik @travis-ci.com
Thanks a bundle,
Josh