Skip to content

Commit

Permalink
ci: add xcov
Browse files Browse the repository at this point in the history
  • Loading branch information
insanoid committed Aug 6, 2019
1 parent 7d5bb55 commit 521bc5d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ before_install:
- gem install xcpretty
- gem install slather
- gem install cocoapods
- gem install xcov

addons:
homebrew:
Expand All @@ -23,3 +24,4 @@ script:
after_success:
- slather
- bash <(curl -s https://codecov.io/bash) -f build/slather/cobertura.xml -X coveragepy -X gcov -X xcode
- xcov -w SwiftyJSONAccelerator.xcworkspace -s SwiftyJSONAccelerator -o build/xcov --coveralls_service_name travis-ci --coveralls_service_job_id $TRAVIS_JOB_ID
2 changes: 1 addition & 1 deletion .xcovignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Api files
# Not core code
- Pods
- SwiftyJSONAccelerator/UI
- SwiftyJSONAccelerator/Support
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ gem 'cocoapods'
gem 'synx'
gem 'slather'
gem 'xcpretty'
gem 'xcov'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# SwiftyJSONAccelerator - MacOS app `Codeable` Model file Generator For Swift 5

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

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)
**Version v2.0 Released! (Swift 5)**

- Generates Swift 5 `Codeable` version along with `CodingKeys`.
Expand Down
2 changes: 1 addition & 1 deletion SwiftyJSONAccelerator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@
935F7E4822F38B650003F787 /* AppDelegate */ = {
isa = PBXGroup;
children = (
93E0F10722E859D5008D3B16 /* AppDelegate.swift */,
);
path = AppDelegate;
sourceTree = "<group>";
Expand Down Expand Up @@ -273,6 +272,7 @@
93FBA66B22E9B8D100015EFD /* Support */ = {
isa = PBXGroup;
children = (
93E0F10722E859D5008D3B16 /* AppDelegate.swift */,
93E0F10B22E859D6008D3B16 /* Assets.xcassets */,
93E0F11022E859D6008D3B16 /* Info.plist */,
93E0F10D22E859D6008D3B16 /* Main.storyboard */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
systemAttachmentLifetime = "keepNever"
userAttachmentLifetime = "keepAlways"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
Expand Down

0 comments on commit 521bc5d

Please sign in to comment.