Skip to content

Commit fe97ff3

Browse files
committed
Setup coveralls
1 parent 22f59d8 commit fe97ff3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ draft-js-markdown-shortcuts-plugin
33

44
[![CircleCI](https://circleci.com/gh/ngs/draft-js-markdown-shortcuts-plugin.svg?style=svg)](https://circleci.com/gh/ngs/draft-js-markdown-shortcuts-plugin)
55
[![npm](https://img.shields.io/npm/v/draft-js-markdown-shortcuts-plugin.svg)][npm]
6+
[![Coverage Status](https://coveralls.io/repos/github/ngs/draft-js-markdown-shortcuts-plugin/badge.svg?branch=master)](https://coveralls.io/github/ngs/draft-js-markdown-shortcuts-plugin?branch=master)
67

78
A [DraftJS] plugin for supporting Markdown syntax shortcuts
89

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ general:
1111
- gh-pages
1212
test:
1313
post:
14+
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
1415
- cp -R lib $CIRCLE_ARTIFACTS/
1516
- cp -R coverage $CIRCLE_ARTIFACTS/
1617
- mkdir -p $CIRCLE_TEST_REPORTS/nyc && cp test-results.xml $CIRCLE_TEST_REPORTS/nyc

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"chai": "^3.5.0",
5757
"chai-enzyme": "^0.6.1",
5858
"cheerio": "^0.22.0",
59+
"coveralls": "^2.11.15",
5960
"css-loader": "^0.26.0",
6061
"css-modules-require-hook": "^4.0.5",
6162
"dirty-chai": "^1.2.2",

0 commit comments

Comments
 (0)