Drop me an email if you'd like to hire me (part time) or learn more about what I do. You can read about my experience and references on LinkedIn.
Integrating Travis CI with Swift project
Finally I successfully integrated Travis CI with Swifternalization. I spent some time finding ready-to-go
solution how to configure my Swift 1.2 project to work with Travis and
I couldn’t find it.
I tried many combination and of course my git history looks terrible now…
But, I will be very nice colleague and will share a recipe :)
First thing is to make the test scheme shared. Go to
Xcode > Product > Scheme > Manage Schemes… and check “Shared” next to your
test target. This is necessary to make this scheme accessible outside of
Next go to Travis and select your github repository to be enabled for continuous integration. You can enable your repo here if you’re signed in.
The next thing is to add .travis.yml file to your repo and configure it.
The configuration may look like following:
As you can see there is objective-c set as the language but this is fine
since the environment is the same both for Objective-C and Swift projects.
The .travis.yml file should be placed in project’s base directory.
Commit it. Push. Go to Travis CI site and wait for build.
Hope it will pass :)