-
Notifications
You must be signed in to change notification settings - Fork 69
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 #67 from hyperoslo/fix/mac-target
Fix Mac target
- Loading branch information
Showing
2 changed files
with
8 additions
and
10 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,8 @@ | ||
osx_image: xcode7.3 | ||
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 | ||
|
||
# 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: | ||
- xcodebuild clean build -project Sugar.xcodeproj -scheme Sugar-iOS -sdk iphonesimulator | ||
- xcodebuild test -project Sugar.xcodeproj -scheme Sugar-iOS -sdk iphonesimulator | ||
- xcodebuild clean build -project Sugar.xcodeproj -scheme Sugar-Mac -sdk macosx | ||
- xcodebuild test -project Sugar.xcodeproj -scheme Sugar-Mac -sdk macosx |
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