summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-02-28 15:19:26 -0800
committerjmkiley <jordan.kiley@mapbox.com>2019-03-11 12:54:48 -0700
commitce5054d93eb82c57911ea11e72406567798e28f3 (patch)
tree2abed4e29bc66d034cd7b2ccbf8ac37712121695
parente46ea37e7a355b1d1beecfae7efb81bf77c91549 (diff)
downloadqtlocation-mapboxgl-ce5054d93eb82c57911ea11e72406567798e28f3.tar.gz
[ios] Update circle.yml, generate coverage reports
-rw-r--r--circle.yml4
-rw-r--r--platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme11
2 files changed, 15 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index 4a54e06931..a5b0020754 100644
--- a/circle.yml
+++ b/circle.yml
@@ -875,6 +875,10 @@ jobs:
- install-macos-dependencies
- install-dependencies
- build-ios-test
+ - run:
+ name: Get iOS code coverage
+ command: |
+ platform/ios/scripts/code-coverage.sh
- check-public-symbols
- run:
name: Check symbol namespacing for mapbox-events-ios
diff --git a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
index 6b018e1337..7d59c4edee 100644
--- a/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
+++ b/platform/ios/ios.xcodeproj/xcshareddata/xcschemes/CI.xcscheme
@@ -54,7 +54,18 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ codeCoverageEnabled = "YES"
+ onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "NO">
+ <CodeCoverageTargets>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "DA8847D11CBAF91600AB86E3"
+ BuildableName = "Mapbox.framework"
+ BlueprintName = "dynamic"
+ ReferencedContainer = "container:ios.xcodeproj">
+ </BuildableReference>
+ </CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">