Skip to content

Commit 0ef17ac

Browse files
authored
Fix coverage related issues (#105)
* fix: change output folder to see if it fixes coveralls * feat: add codecov * fix: add codecov badge * Update README.md
1 parent 93f74c9 commit 0ef17ac

File tree

6 files changed

+7
-14
lines changed

6 files changed

+7
-14
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ script:
2222
- xcodebuild -workspace SwiftyJSONAccelerator.xcworkspace -scheme "SwiftyJSONAccelerator" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test
2323

2424
after_success:
25-
- xcov -w SwiftyJSONAccelerator.xcworkspace -s SwiftyJSONAccelerator -o build/xcov --coveralls_service_name travis-ci --coveralls_service_job_id $TRAVIS_JOB_ID
25+
- xcov -w SwiftyJSONAccelerator.xcworkspace -s SwiftyJSONAccelerator xcov_output --coveralls_service_name travis-ci --coveralls_service_job_id $TRAVIS_JOB_ID
26+
- bash <(curl -s https://codecov.io/bash) -J 'SwiftyJSONAccelerator'

.xcovignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ source 'https://rubygems.org'
33
gem 'cocoapods'
44
gem 'synx'
55
gem 'xcpretty'
6-
gem 'xcov'

Gemfile.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ GEM
202202
claide (>= 1.0.2, < 2.0)
203203
colored2 (~> 3.1)
204204
nanaimo (~> 0.2.6)
205-
xcov (1.5.1)
206-
fastlane (>= 2.82.0, < 3.0.0)
207-
multipart-post
208-
slack-notifier
209-
terminal-table
210-
xcodeproj
211205
xcpretty (0.3.0)
212206
rouge (~> 2.0.7)
213207
xcpretty-travis-formatter (1.0.0)
@@ -219,7 +213,6 @@ PLATFORMS
219213
DEPENDENCIES
220214
cocoapods
221215
synx
222-
xcov
223216
xcpretty
224217

225218
BUNDLED WITH

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Build
66
Status](https://travis-ci.org/insanoid/SwiftyJSONAccelerator.svg?branch=master)](https://travis-ci.org/insanoid/SwiftyJSONAccelerator)
7-
[![Coverage Status](https://coveralls.io/repos/github/insanoid/SwiftyJSONAccelerator/badge.svg?branch=master)](https://coveralls.io/github/insanoid/SwiftyJSONAccelerator?branch=master)
7+
![codecov](https://codecov.io/gh/insanoid/SwiftyJSONAccelerator/branch/master/graph/badge.svg)
88

99

1010
**Version v2.1 Released! (Swift 5)**

codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ignore:
2+
- "Pods"
3+
- "SwiftyJSONAccelerator/UI"
4+
- "SwiftyJSONAccelerator/Support"

0 commit comments

Comments
 (0)