Skip to content

Commit

Permalink
Fix coverage related issues (#105)
Browse files Browse the repository at this point in the history
* fix: change output folder to see if it fixes coveralls

* feat: add codecov

* fix: add codecov badge

* Update README.md
  • Loading branch information
insanoid committed Sep 23, 2019
1 parent 93f74c9 commit 0ef17ac
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -22,4 +22,5 @@ script:
- xcodebuild -workspace SwiftyJSONAccelerator.xcworkspace -scheme "SwiftyJSONAccelerator" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test

after_success:
- xcov -w SwiftyJSONAccelerator.xcworkspace -s SwiftyJSONAccelerator -o build/xcov --coveralls_service_name travis-ci --coveralls_service_job_id $TRAVIS_JOB_ID
- xcov -w SwiftyJSONAccelerator.xcworkspace -s SwiftyJSONAccelerator xcov_output --coveralls_service_name travis-ci --coveralls_service_job_id $TRAVIS_JOB_ID
- bash <(curl -s https://codecov.io/bash) -J 'SwiftyJSONAccelerator'
4 changes: 0 additions & 4 deletions .xcovignore

This file was deleted.

1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -3,4 +3,3 @@ source 'https://rubygems.org'
gem 'cocoapods'
gem 'synx'
gem 'xcpretty'
gem 'xcov'
7 changes: 0 additions & 7 deletions Gemfile.lock
Expand Up @@ -202,12 +202,6 @@ GEM
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)
xcov (1.5.1)
fastlane (>= 2.82.0, < 3.0.0)
multipart-post
slack-notifier
terminal-table
xcodeproj
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
Expand All @@ -219,7 +213,6 @@ PLATFORMS
DEPENDENCIES
cocoapods
synx
xcov
xcpretty

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@

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


**Version v2.1 Released! (Swift 5)**
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
@@ -0,0 +1,4 @@
ignore:
- "Pods"
- "SwiftyJSONAccelerator/UI"
- "SwiftyJSONAccelerator/Support"

0 comments on commit 0ef17ac

Please sign in to comment.