-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from hyperoslo/add/travis
Add Travis
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 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 | ||
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi | ||
|
||
# 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 Compass.xcodeproj -scheme Compass-iOS -sdk iphonesimulator | ||
- xctool test -project Compass.xcodeproj -scheme Compass-iOS -sdk iphonesimulator |
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