summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-05-29 13:55:18 -0400
committerNicoleYarroch <nicole@livio.io>2020-05-29 13:55:18 -0400
commitd829b3f304ce91d88404252046d3dc661f250206 (patch)
tree4e184f950eb7a24b2cd17ef53cd5bdd04e21a477
parente8dcebe961f5c3dab503bd8320573bab2c6bc8ac (diff)
downloadsdl_ios-d829b3f304ce91d88404252046d3dc661f250206.tar.gz
Fixed Travis scripts
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index a571fc610..a690c7163 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,6 @@
language: objective-c
osx_image: xcode11.5
xcode_project: SmartDeviceLink-iOS.xcodeproj
-xcode_scheme:
- - SmartDeviceLink
- - SmartDeviceLink-Example-ObjC
- - SmartDeviceLink-Example-Swift
xcode_destination: platform=iOS Simulator,OS=11.3,name=iPhone X
xcode_sdk:
- iphonesimulator13.5
@@ -25,7 +21,11 @@ before_install:
- carthage bootstrap --verbose --no-use-binaries --platform iOS --cache-builds
script:
-- set -o pipefail && xcodebuild -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ENABLE_TESTABILITY=YES test;
+# Build the Obj-C and Swift Example apps
+- set -o pipefail && xcodebuild -scheme "SmartDeviceLink-Example-ObjC" -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO build;
+- set -o pipefail && xcodebuild -scheme "SmartDeviceLink-Example-Swift" -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO build;
+# Run the SmartDeviceLink tests
+- set -o pipefail && xcodebuild -scheme "SmartDeviceLink" -configuration Debug ONLY_ACTIVE_ARCH=NO RUN_CLANG_STATIC_ANALYZER=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ENABLE_TESTABILITY=YES test;
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'SmartDeviceLink'