Building an Objective-C Project
What This Guide Covers
CI environment for Objective-C Projects
Travis OS X VMs currently run 10.8.5 and have Homebrew installed.
If you have a
Podfile in your repository, Travis CI automatically runs
pod install during the install phase.
If you use some other dependency management system, override the
install: key in your
install: make get-deps
See general build configuration guide to learn more.
Default Test Script
Travis CI uses xctool by default to run the tests. In order for xctool to work, you need to tell it the name of your scheme and either project or workspace. For example:
language: objective-c xcode_project: MyNewProject.xcodeproj xcode_scheme: MyNewProjectTests
You can also specify an SDK using the
The build script can be overridden as described in the general build configuration guide. For example, to build by running make without arguments, override the
script: key in
.travis.yml like this: