Skip to content

Commit

Permalink
add coveralls reports, badge
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Aug 24, 2015
1 parent 7b78202 commit 36731c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -28,6 +28,7 @@ env:
- CLIENT=selenium:firefox COMMAND=test
- CLIENT=selenium:phantomjs COMMAND=test
- COMMAND=coverage
- COMMAND=report-coverage

branches:
only:
Expand Down
4 changes: 3 additions & 1 deletion README.md
@@ -1,6 +1,8 @@
PouchDB LRU Cache [![Build Status](https://travis-ci.org/squarespace/pouchdb-lru-cache.svg)](https://travis-ci.org/squarespace/pouchdb-lru-cache) [![npm version](https://badge.fury.io/js/pouchdb-lru-cache.svg)](http://badge.fury.io/js/pouchdb-lru-cache)
PouchDB LRU Cache
=====

[![Build Status](https://travis-ci.org/Squarespace/pouchdb-lru-cache.svg)](https://travis-ci.org/Squarespace/pouchdb-lru-cache) [![Coverage Status](https://coveralls.io/repos/Squarespace/pouchdb-lru-cache/badge.svg?branch=master&service=github)](https://coveralls.io/github/Squarespace/pouchdb-lru-cache?branch=master) [![npm version](https://badge.fury.io/js/pouchdb-lru-cache.svg)](http://badge.fury.io/js/pouchdb-lru-cache)

An LRU (least recently used) cache designed for storing binary data in PouchDB. Runs in modern browsers and Node.js.

Example
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -29,7 +29,8 @@
"min": "uglifyjs dist/pouchdb.lru-cache.js -mc > dist/pouchdb.lru-cache.min.js",
"dev": "browserify test/test.js > test/test-bundle.js && npm run dev-server",
"dev-server": "./bin/dev-server.js",
"coverage": "npm test --coverage && istanbul check-coverage --lines 100 --function 100 --statements 100 --branches 100"
"coverage": "npm test --coverage && istanbul check-coverage --lines 100 --function 100 --statements 100 --branches 100",
"report-coverage": "npm test --coverage && istanbul check-coverage && istanbul-coveralls --no-rm"
},
"dependencies": {
"lie": "^2.6.0",
Expand All @@ -46,6 +47,7 @@
"es3ify": "^0.1.3",
"http-server": "~0.5.5",
"istanbul": "^0.2.7",
"istanbul-coveralls": "^1.0.3",
"jshint": "~2.3.0",
"mkdirp": "^0.5.1",
"mocha": "~1.18",
Expand Down

0 comments on commit 36731c1

Please sign in to comment.