Skip to content

Commit

Permalink
Merge pull request #76 from mozilla-services/remove-coverage
Browse files Browse the repository at this point in the history
Refs #74 - Removed coverage from continuous integration.
  • Loading branch information
n1k0 committed Jul 16, 2015
2 parents aabeded + 5292804 commit eae7035
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Kinto.js

[![Build Status](https://travis-ci.org/mozilla-services/kinto.js.svg?branch=master)](https://travis-ci.org/mozilla-services/kinto.js) [![Coverage Status](https://coveralls.io/repos/mozilla-services/kinto.js/badge.svg?branch=master)](https://coveralls.io/r/mozilla-services/kinto.js?branch=master) [![](https://readthedocs.org/projects/kintojs/badge/?version=latest)](http://kintojs.readthedocs.org/)
[![Build Status](https://travis-ci.org/mozilla-services/kinto.js.svg?branch=master)](https://travis-ci.org/mozilla-services/kinto.js) [![](https://readthedocs.org/projects/kintojs/badge/?version=latest)](http://kintojs.readthedocs.org/)

A JavaScript client for [Kinto](https://kinto.readthedocs.org/).
10 changes: 4 additions & 6 deletions docs/hacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ Code is [hosted on Github](https://github.com/mozilla-services/kinto.js).

$ npm test

This will also run code coverage and send the report to [Coveralls](http://coveralls.io/). Alternatives:
Code coverage reporting:

$ npm run test-nocover # runs tests skipping code coverage
$ npm run test-cover # runs tests, code coverage; doesn't send results
$ npm run test-cover-html # runs tests, code coverage and opens a fancy html report

Note that code coverage reports are also [browseable on Coveralls](https://coveralls.io/r/mozilla-services/kinto.js).
$ npm run test-cover # runs tests, code coverage
$ npm run test-cover-html # runs tests, code coverage and generates a html report
$ open coverage/index.html # opens that fancy html report

### TDD mode

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Kinto.js [![](https://travis-ci.org/mozilla-services/kinto.js.svg?branch=master)](https://travis-ci.org/mozilla-services/kinto.js) [![](https://coveralls.io/repos/mozilla-services/kinto.js/badge.svg?branch=master)](https://coveralls.io/r/mozilla-services/kinto.js?branch=master) [![](https://readthedocs.org/projects/kintojs/badge/?version=latest)](http://kintojs.readthedocs.org/)
# Kinto.js [![](https://travis-ci.org/mozilla-services/kinto.js.svg?branch=master)](https://travis-ci.org/mozilla-services/kinto.js) [![](https://readthedocs.org/projects/kintojs/badge/?version=latest)](http://kintojs.readthedocs.org/)

> An offline-first JavaScript client for [Kinto](http://kinto.readthedocs.org/).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dist-dev": "browserify -s Kinto -x fake-indexeddb -d -e src/index.js -o dist/kinto.dev.js && cp dist/kinto.dev.js demo/",
"dist-prod": "browserify -s Kinto -x fake-indexeddb -g uglifyify -e src/index.js -o dist/kinto.min.js && cp dist/kinto.min.js demo/",
"tdd": "mocha -w --compilers js:babel/register test/*_test.js",
"test": "npm run test-cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "npm run test-nocover",
"test-cover": "babel-node node_modules/.bin/isparta cover --report text $npm_package_config_ISPARTA_OPTS node_modules/.bin/_mocha",
"test-cover-html": "babel-node node_modules/.bin/isparta cover --report html $npm_package_config_ISPARTA_OPTS node_modules/.bin/_mocha && open coverage/index.html",
"test-nocover": "mocha --compilers js:babel/register test/*_test.js",
Expand Down

0 comments on commit eae7035

Please sign in to comment.