{"_id":"travis-cov","_rev":"300458","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","dist-tags":{"latest":"0.2.5"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"time":{"modified":"2021-06-03T19:05:28.000Z","created":"2012-11-15T13:33:10.179Z","0.2.5":"2014-01-26T05:47:13.134Z","0.2.4":"2013-01-07T13:36:37.138Z","0.2.3":"2012-12-07T03:56:56.880Z","0.2.2":"2012-11-29T02:03:33.645Z","0.2.1":"2012-11-29T01:58:15.337Z","0.2.0":"2012-11-25T07:29:18.376Z","0.1.9":"2012-11-24T18:34:30.920Z","0.1.8":"2012-11-24T17:56:00.392Z","0.1.7":"2012-11-24T16:42:18.962Z","0.1.6":"2012-11-24T16:31:29.581Z","0.1.5":"2012-11-24T16:04:25.857Z","0.1.4":"2012-11-20T13:38:26.744Z","0.1.3":"2012-11-20T04:35:04.894Z","0.1.2":"2012-11-19T23:25:23.831Z","0.1.0":"2012-11-18T00:37:07.069Z","0.0.9":"2012-11-16T13:08:46.319Z","0.0.8":"2012-11-16T03:53:13.962Z","0.0.7":"2012-11-16T03:07:30.996Z","0.0.6":"2012-11-15T13:33:10.179Z"},"users":{"brad-christie":true},"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"versions":{"0.2.5":{"version":"0.2.5","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","bugs":{"url":"https://github.com/alex-seville/travis-cov/issues"},"homepage":"https://github.com/alex-seville/travis-cov","_id":"travis-cov@0.2.5","dist":{"shasum":"ab236f36fc68259263bb92e91044000dd5cbb736","size":5701,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.5.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"alexseville","email":"hi@alexanderseville.com"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1390715233134,"_hasShrinkwrap":false,"_cnpm_publish_time":1390715233134},"0.2.4":{"version":"0.2.4","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.2.4","dist":{"shasum":"03e29a94a09e78da6412d18358bbc7195a78269d","size":4914,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.4.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1357565797138,"_hasShrinkwrap":false,"_cnpm_publish_time":1357565797138},"0.2.3":{"version":"0.2.3","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.2.3","dist":{"shasum":"ec73aad539edd08fe3861ab401c42f162e5410bd","size":4784,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.3.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1354852616880,"_hasShrinkwrap":false,"_cnpm_publish_time":1354852616880},"0.2.2":{"version":"0.2.2","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.2.2","dist":{"shasum":"bf944315c52180c4ca931ed5fe9671115698dcf8","size":4620,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.2.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1354154613645,"_hasShrinkwrap":false,"_cnpm_publish_time":1354154613645},"0.2.1":{"version":"0.2.1","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.2.1","dist":{"shasum":"bd237c885e2df6d2152a3a4335ee71feb54cf90f","size":4650,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.1.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1354154295337,"_hasShrinkwrap":false,"_cnpm_publish_time":1354154295337},"0.2.0":{"version":"0.2.0","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.2.0","dist":{"shasum":"74ca004540fe19e9f400cd2c8386ccded44784b5","size":3152,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.2.0.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353828558376,"_hasShrinkwrap":false,"_cnpm_publish_time":1353828558376},"0.1.9":{"version":"0.1.9","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.9","dist":{"shasum":"70c848a8c6a3c10c3af482fc8e4de8cbf8cfdf26","size":3225,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.9.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353782070920,"_hasShrinkwrap":false,"_cnpm_publish_time":1353782070920},"0.1.8":{"version":"0.1.8","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.8","dist":{"shasum":"a494a6cee2772e9b7742261e18ac7c8aa72d481d","size":3157,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.8.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353779760392,"_hasShrinkwrap":false,"_cnpm_publish_time":1353779760392},"0.1.7":{"version":"0.1.7","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.7","dist":{"shasum":"c1ec95e97c4265d26461e970433c498bfb527ab3","size":3142,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.7.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353775338962,"_hasShrinkwrap":false,"_cnpm_publish_time":1353775338962},"0.1.6":{"version":"0.1.6","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.6","dist":{"shasum":"5b3fadf6988417308f5771bc2f092b38b75ed62f","size":3154,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.6.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353774689581,"_hasShrinkwrap":false,"_cnpm_publish_time":1353774689581},"0.1.5":{"version":"0.1.5","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.5","dist":{"shasum":"919e3186f9f01104ddc7c11ab13e77ee17b74ffa","size":3114,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.5.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353773065857,"_hasShrinkwrap":false,"_cnpm_publish_time":1353773065857},"0.1.4":{"version":"0.1.4","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.4","dist":{"shasum":"4d2dca02b71ef547f91f5dcc78a07b3b5d06ded2","size":3144,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.4.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353418706744,"_hasShrinkwrap":false,"_cnpm_publish_time":1353418706744},"0.1.3":{"version":"0.1.3","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.3","dist":{"shasum":"a3e659cef55c20745eb2f5076e3e1ee786cb7657","size":2060,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.3.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353386104894,"_hasShrinkwrap":false,"_cnpm_publish_time":1353386104894},"0.1.2":{"version":"0.1.2","name":"travis-cov","description":"Mocha/blanket coverage reporter for travis-ci.","keywords":["travis","mocha","blanket","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.2","dist":{"shasum":"086befb607aca4d318c3d65afc3df6e8cd722eac","size":2013,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.2.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353367523831,"_hasShrinkwrap":false,"_cnpm_publish_time":1353367523831},"0.1.0":{"version":"0.1.0","name":"travis-cov","description":"Mocha coverage reporter for travis","keywords":["travis","mocha","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.1.0","dist":{"shasum":"741abb4c55d602053c5eed74b7583987cedd0cb1","size":1749,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.1.0.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353199027069,"_hasShrinkwrap":false,"_cnpm_publish_time":1353199027069},"0.0.9":{"version":"0.0.9","name":"travis-cov","description":"Mocha coverage reporter for travis","keywords":["travis","mocha","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.0.9","dist":{"shasum":"542b534ac189932081eb11559519f05354e0de62","size":1224,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.0.9.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353071326319,"_hasShrinkwrap":false,"_cnpm_publish_time":1353071326319},"0.0.8":{"version":"0.0.8","name":"travis-cov","description":"Mocha coverage reporter for travis","keywords":["travis","mocha","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.0.8","dist":{"shasum":"6336188c067669ac234c1cd2c7365733c01d9e7e","size":977,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.0.8.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353037993962,"_hasShrinkwrap":false,"_cnpm_publish_time":1353037993962},"0.0.7":{"version":"0.0.7","name":"travis-cov","description":"Mocha coverage reporter for travis","keywords":["travis","mocha","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.0.7","dist":{"shasum":"d443768dbb4e5851e4adc391683a2c4d879811fe","size":1020,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.0.7.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1353035250996,"_hasShrinkwrap":false,"_cnpm_publish_time":1353035250996},"0.0.6":{"version":"0.0.6","name":"travis-cov","description":"Mocha coverage reporter for travis","keywords":["travis","mocha","test","coverage"],"author":{"name":"Alex Seville"},"repository":{"type":"git","url":"https://github.com/alex-seville/travis-cov"},"engines":{"node":">=0.6"},"main":"index.js","_id":"travis-cov@0.0.6","dist":{"shasum":"0fdf94aee879c5b2d7ed9048a12dbf19e7fd6e92","size":876,"noattachment":false,"key":"/travis-cov/-/travis-cov-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-cov/download/travis-cov-0.0.6.tgz"},"maintainers":[{"name":"alexseville","email":"hi@alexanderseville.com"}],"directories":{},"publish_time":1352986390179,"_hasShrinkwrap":false,"_cnpm_publish_time":1352986390179}},"readme":"## travis-cov\n\nA coverage reporter for [Mocha](http://visionmedia.github.com/mocha/)/[Blanket](http://blanketjs.org/) that will fail a [travis-ci](https://travis-ci.org/) build when the coverage threshold is too low.\n\nThreshold is specified in the package.json file of the consuming project.\n\nAdd the key `\"travis-cov\" to the \"config\" key in your package.json file.  Under that key you can add any of the following properties:\n\n`threshold: <number>,\nglobal: <boolean>,\nlocal: <boolean>`\n\nSee [Blanket.js's package.json](https://github.com/alex-seville/blanket/blob/master/package.json#L42) as an example.\n\n###usage\n1. `npm install travis-cov`\n2. Use a reporter argument, `mocha -R travis-cov`\n3. Change scripts.test in your package.json file to use `mocha -R travis-cov`\n4. Add `travis-cov` to the package.json file in the config section.  Add whichever keys you want (see above).\n5. Set up your project with travis-ci\n6. Commit, if your tests pass and the code coverage is above the threshold the build will pass, otherwise it will fail.\n","_attachments":{},"homepage":"https://github.com/alex-seville/travis-cov","bugs":{"url":"https://github.com/alex-seville/travis-cov/issues"}}