Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit b9d7001

Browse files
author
Simon Nagl
authored
Add coverage report. (#5)
* Add istanbul javascript code coverage * Send coverage to codacy * Add codacy coverage badge * Add travis build badge
1 parent f6f622a commit b9d7001

File tree

5 files changed

+731
-2
lines changed

5 files changed

+731
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
dist
33
spec
44
package
5+
coverage
56

67
# macOS
7-
.DS_Store
8+
.DS_Store

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ deploy:
99
on:
1010
tags: true
1111
repo: e-mundo/jsog-typescript
12+
13+
after_success:
14+
# Send coverage to codacy
15+
- cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage
16+

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# JavaScript Object Graphs with Typescript
22

3+
[![Build Status](https://travis-ci.org/emundo/jsog-typescript.svg?branch=master)](https://travis-ci.org/emundo/jsog-typescript)
34
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f1aa8312b430447083609f8ca5519136)](https://www.codacy.com/app/simonnagl/jsog-typescript?utm_source=github.com&utm_medium=referral&utm_content=emundo/jsog-typescript&utm_campaign=badger)
5+
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/f1aa8312b430447083609f8ca5519136)](https://www.codacy.com/app/simonnagl/jsog-typescript?utm_source=github.com&utm_medium=referral&utm_content=emundo/jsog-typescript&utm_campaign=Badge_Coverage)
46

57
This Typescript module implements [JSOG format](https://github.com/jsog/jsog).
68
It is able to instantiante typescript objects during deserialization.

0 commit comments

Comments
 (0)