Skip to content

Commit 6b90b5d

Browse files
committedNov 14, 2015
set up coveralls
1 parent e37e228 commit 6b90b5d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed
 

‎.coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
repo_token: fW3moW39Z8pKOgqTnUMT68DnNCd2SM8Ly

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# eslint-plugin-import
22

33
[![build status](https://travis-ci.org/benmosher/eslint-plugin-import.svg?branch=master)](https://travis-ci.org/benmosher/eslint-plugin-import)
4+
[![Coverage Status](https://coveralls.io/repos/benmosher/eslint-plugin-import/badge.svg?branch=master&service=github)](https://coveralls.io/github/benmosher/eslint-plugin-import?branch=coverage)
45
[![win32 build status](https://ci.appveyor.com/api/projects/status/3mw2fifalmjlqf56/branch/master?svg=true)](https://ci.appveyor.com/project/benmosher/eslint-plugin-import/branch/master)
56
[![npm](https://img.shields.io/npm/v/eslint-plugin-import.svg)](https://www.npmjs.com/package/eslint-plugin-import)
67

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"debug": "mocha debug --recursive --reporter dot tests/lib/",
1515
"compile": "rm -rf lib/ && babel -d lib/ src/",
1616
"prepublish": "npm run compile",
17-
"pretest": "eslint ./src && npm run compile && babel -d tests/lib/ tests/src/"
17+
"pretest": "eslint ./src && npm run compile && babel -d tests/lib/ tests/src/",
18+
"coveralls": "cat ./reports/coverage/lcov.info | coveralls"
1819
},
1920
"repository": {
2021
"type": "git",
@@ -39,6 +40,7 @@
3940
"babel": "5.x",
4041
"babel-eslint": "^4.1.4",
4142
"chai": "^3.4.0",
43+
"coveralls": "^2.11.4",
4244
"eslint": ">=1.8.0",
4345
"istanbul": "^0.4.0",
4446
"mocha": "^2.2.1",

0 commit comments

Comments
 (0)
Please sign in to comment.