Skip to content

Commit d0dc332

Browse files
authoredApr 28, 2020
change reporter id (rootstrap#136)
Fix test coverage reports by changing reporter id and including binary name in slather.yml
1 parent 3824ab3 commit d0dc332

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed
 

‎.slather.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ coverage_service: cobertura_xml
22
workspace: ios-base.xcworkspace
33
xcodeproj: ios-base.xcodeproj
44
scheme: ios-base-develop
5+
binary_basename: ios-base-Debug
56
ignore:
67
- Pods/*

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
global:
3-
- CC_TEST_REPORTER_ID: ecb24ed0e4ed09f50a512e0b9490e0caa3e2409bb5f1220af8935514279293d9
3+
- CC_TEST_REPORTER_ID: 8454035bac667725e88752aa44de9ee72dc53982138c3d0c3def3843b9191568
44
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
55
language: swift
66
xcode_workspace: ios-base.xcworkspace
@@ -20,7 +20,7 @@ install:
2020
- pod install
2121
script:
2222
- set -o pipefail
23-
- xcodebuild -workspace ios-base.xcworkspace -scheme ios-base-develop -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.4' build test | xcpretty --test --color
23+
- xcodebuild -workspace ios-base.xcworkspace -scheme ios-base-develop -destination 'platform=iOS Simulator,name=iPhone Xs,OS=12.2' build test | xcpretty --test --color
2424
after_script:
2525
- slather coverage
2626
- ./cc-test-reporter after-build -t cobertura --exit-code $TRAVIS_TEST_RESULT

‎ios-base.xcodeproj/xcshareddata/xcschemes/ios-base-develop.xcscheme

-10
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,6 @@
7474
</BuildableReference>
7575
</MacroExpansion>
7676
<Testables>
77-
<TestableReference
78-
skipped = "NO">
79-
<BuildableReference
80-
BuildableIdentifier = "primary"
81-
BlueprintIdentifier = "9B2BF7281EBB9AB5001638C4"
82-
BuildableName = "AcceptanceTests.xctest"
83-
BlueprintName = "AcceptanceTests"
84-
ReferencedContainer = "container:ios-base.xcodeproj">
85-
</BuildableReference>
86-
</TestableReference>
8777
<TestableReference
8878
skipped = "NO">
8979
<BuildableReference

0 commit comments

Comments
 (0)
Please sign in to comment.