11 - SCHEME="RxLibraryUnitTests"
12 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
13 INTEROP_SERVER="false"
14 - SCHEME="InteropTestsLocalSSL"
15 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
17 - SCHEME="InteropTestsLocalCleartext"
18 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
20 # TODO(jcanizales): Make tests an app project (instead of library), so the following will work.
21 # - SCHEME="InteropTestsRemote"
22 # WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
23 # INTEROP_SERVER="true"
25 WORKSPACE="HelloWorld.xcworkspace" TEST_PATH="examples/objective-c/helloworld"
26 BUILD_ONLY="true" INTEROP_SERVER="false"
27 - SCHEME="RouteGuideClient"
28 WORKSPACE="RouteGuideClient.xcworkspace" TEST_PATH="examples/objective-c/route_guide"
29 BUILD_ONLY="true" INTEROP_SERVER="false"
31 WORKSPACE="AuthSample.xcworkspace" TEST_PATH="examples/objective-c/auth_sample"
32 BUILD_ONLY="true" INTEROP_SERVER="false"
34 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
35 INTEROP_SERVER="false"
37 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
38 INTEROP_SERVER="false" FRAMEWORKS="YES"
39 - SCHEME="SwiftSample"
40 WORKSPACE="SwiftSample.xcworkspace" TEST_PATH="src/objective-c/examples/SwiftSample"
41 BUILD_ONLY="true" INTEROP_SERVER="false"
43 # Until Travis upgrades from Cocoapods 0.39, we need to do it here.
45 - gem uninstall cocoapods -a
46 - gem install cocoapods -v '1.0.1'
48 # Recent pods aren't found if we don't explicitly update Cocoapods' repo.
56 - if [ "${INTEROP_SERVER}" = "true" ]; then
58 (bins/$CONFIG/interop_server --port=5050 &);
59 (bins/$CONFIG/interop_server --port=5051 --use_tls &);
62 - if [ "${BUILD_ONLY}" = "true" ]; then
63 xctool -workspace "$TEST_PATH/$WORKSPACE" -scheme "$SCHEME"
64 -sdk iphonesimulator9.3 build;
66 xctool -workspace "$TEST_PATH/$WORKSPACE" -scheme "$SCHEME"
67 -sdk iphonesimulator9.3 test;