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

Commit e7a10ad

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

File tree

16 files changed

+1008
-94
lines changed

16 files changed

+1008
-94
lines changed

.travis.yml

Lines changed: 6 additions & 2 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,12 @@ 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
3031
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
32+
elif [ "$TEST_TYPE" = OSXDemoObjC ]; then
33+
set -o pipefail
34+
xcodebuild build -workspace ParseLiveQuery.xcworkspace -sdk macosx -scheme LiveQueryDemo-ObjC -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c
3135
elif [ "$TEST_TYPE" = CocoaPods ]; then
3236
pod lib lint ParseLiveQuery.podspec
3337
fi

0 commit comments

Comments
 (0)