Skip to content

Commit 890d832

Browse files
committed
Gather coverage data only when it's generated
1 parent 629577c commit 890d832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ jobs:
77
- stage: "Xcode"
88
name: "Run tests on macOS"
99
script: xcrun xcodebuild test -destination "platform=macOS" -project "Differ.xcodeproj" -scheme "Differ"
10+
after_success: 'bash <(curl -s https://codecov.io/bash)'
1011
-
1112
name: "Run tests on iOS"
1213
script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -project "Differ.xcodeproj" -scheme "Differ"
14+
after_success: 'bash <(curl -s https://codecov.io/bash)'
1315
-
1416
name: "Run tests on tvOS"
1517
script: xcrun xcodebuild test -destination "platform=tvOS Simulator,OS=12.2,name=Apple TV 4K" -project "Differ.xcodeproj" -scheme "Differ"
18+
after_success: 'bash <(curl -s https://codecov.io/bash)'
1619
-
1720
name: "Build for watchOS"
1821
script: xcrun xcodebuild build -destination "platform=watchOS Simulator,OS=5.2,name=Apple Watch Series 4 - 44mm" -project "Differ.xcodeproj" -scheme "Differ"
@@ -27,6 +30,3 @@ jobs:
2730
- stage: "CocoaPods"
2831
name: "Lint Podspec"
2932
script: pod lib lint
30-
31-
after_success:
32-
- 'bash <(curl -s https://codecov.io/bash)'

0 commit comments

Comments
 (0)