forked from hyperoslo/ImagePicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure Travis to build the project
- Loading branch information
Christoffer Winterkvist
committed
Jan 15, 2016
1 parent
54e4a43
commit 82500e5
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
osx_image: xcode7.2 | ||
language: objective-c | ||
cache: cocoapods | ||
before_install: gem install cocoapods obcd slather -N | ||
|
||
# Use when you don't have third party dependencies | ||
script: xctool -project Pod/Pod.xcodeproj -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | ||
before_install: | ||
- brew update | ||
- brew install carthage | ||
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi | ||
- carthage update --platform iOS | ||
|
||
# Use when you have third party dependencies (CocoaPods generates a workspace) | ||
# podfile: Pod/Podfile | ||
# script: xctool -workspace Pod/Pod.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | ||
|
||
after_success: slather | ||
script: | ||
- xctool clean build -project ImagePicker.xcodeproj -scheme ImagePicker-iOS -sdk iphonesimulator |