Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit c9684eb

Browse files
Add objective-c example app, make swift example use AppKit for proper linking.
1 parent 3daca2f commit c9684eb

File tree

19 files changed

+1035
-102
lines changed

19 files changed

+1035
-102
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ env:
1010
matrix:
1111
- TEST_TYPE=iOS
1212
- TEST_TYPE=OSX
13-
- TEST_TYPE=OSXDemo
13+
- TEST_TYPE=OSXDemoSwift
14+
- TEST_TYPE=OSXDemoObjC
1415
- TEST_TYPE=CocoaPods
1516
install:
1617
- |
@@ -25,9 +26,14 @@ script:
2526
elif [ "$TEST_TYPE" = OSX ]; then
2627
set -o pipefail
2728
xcodebuild build -workspace ParseLiveQuery.xcworkspace -sdk macosx -scheme ParseLiveQuery-OSX -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
28-
elif [ "$TEST_TYPE" = OSXDemo ]; then
29+
elif [ "$TEST_TYPE" = OSXDemoSwift ]; then
2930
set -o pipefail
30-
xcodebuild build -workspace ParseLiveQuery.xcworkspace -sdk macosx -scheme LiveQueryDemo -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
31+
xcodebuild clean -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo | xcpretty -c
32+
xcodebuild build -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo -configuration Debug | xcpretty -c
33+
elif [ "$TEST_TYPE" = OSXDemoObjC ]; then
34+
set -o pipefail
35+
xcodebuild clean -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo-ObjC | xcpretty -c
36+
xcodebuild build -workspace ParseLiveQuery.xcworkspace -scheme LiveQueryDemo-ObjC -configuration Debug | xcpretty -c
3137
elif [ "$TEST_TYPE" = CocoaPods ]; then
3238
pod lib lint ParseLiveQuery.podspec
3339
fi

0 commit comments

Comments
 (0)