Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 3, 2016
1 parent 8260b2c commit 26b3cc7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.nyc_output
node_modules
.nyc_output
coverage
6 changes: 0 additions & 6 deletions .istanbul.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ language: node_js
node_js:
- '6'
- '4'
after_script:
- 'cat coverage/lcov.info | ./node_modules/.bin/coveralls'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"node": ">=4"
},
"scripts": {
"test": "xo && ava",
"cover": "nyc ava && nyc report --reporter=html"
"test": "xo && nyc ava"
},
"files": [
"index.js"
Expand Down Expand Up @@ -50,6 +49,7 @@
},
"devDependencies": {
"ava": "*",
"coveralls": "^2.11.14",
"nyc": "^8.3.0",
"rewire": "^2.3.1",
"rimraf": "^2.3.2",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cp-file [![Build Status](https://travis-ci.org/sindresorhus/cp-file.svg?branch=master)](https://travis-ci.org/sindresorhus/cp-file)
# cp-file [![Build Status](https://travis-ci.org/sindresorhus/cp-file.svg?branch=master)](https://travis-ci.org/sindresorhus/cp-file) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/cp-file/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/cp-file?branch=master)

> Copy a file
Expand Down

0 comments on commit 26b3cc7

Please sign in to comment.