Skip to content

Commit 61f99b7

Browse files
add codecov.io support (#71)
1 parent 6620e25 commit 61f99b7

File tree

6 files changed

+9
-2
lines changed

6 files changed

+9
-2
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
language: objective-c
1+
language: swift
22

33
branches:
44
except:
@@ -48,3 +48,6 @@ script:
4848
GCC_GENERATE_TEST_COVERAGE_FILES=YES
4949
SWIFT_VERSION=$SWIFT_VERSION
5050
- pod lib lint --quick
51+
52+
after_success:
53+
- bash <(curl -s https://codecov.io/bash)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![Swift 5.0](https://img.shields.io/badge/Swift-5.0-blue.svg?style=flat)
44
[![Platform support](https://img.shields.io/badge/platform-ios%20%7C%20osx%20%7C%20tvos%20%7C%20watchos-lightgrey.svg?style=flat-square)](https://github.com/swiftcsv/SwiftCSV/blob/master/LICENSE.md)
55
[![Build Status](https://img.shields.io/travis/swiftcsv/SwiftCSV/master.svg?style=flat-square)](https://travis-ci.org/swiftcsv/SwiftCSV)
6-
[![Code coverage status](https://img.shields.io/codecov/c/github/swiftcsv/SwiftCSV.svg?style=flat-square)](http://codecov.io/github/swiftcsv/SwiftCSV)
6+
[![Code coverage status](https://codecov.io/gh/swiftcsv/SwiftCSV/branch/master/graph/badge.svg)](https://codecov.io/gh/swiftcsv/SwiftCSV)
77
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SwiftCSV.svg?style=flat-square)](https://cocoapods.org/pods/SwiftCSV)
88
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
99
[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/swiftcsv/SwiftCSV/blob/master/LICENSE.md)

SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-iOS.xcscheme

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
codeCoverageEnabled = "YES"
4344
shouldUseLaunchSchemeArgsEnv = "YES">
4445
<Testables>
4546
<TestableReference

SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-macOS.xcscheme

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
codeCoverageEnabled = "YES"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
<TestableReference

SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-tvOS.xcscheme

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
codeCoverageEnabled = "YES"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
<TestableReference

SwiftCSV.xcodeproj/xcshareddata/xcschemes/SwiftCSV-watchOS.xcscheme

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
codeCoverageEnabled = "YES"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>

0 commit comments

Comments
 (0)