Permalink
Browse files

adding code coverage config, badges and LTS section (#427)

* adding code coverage config, badges and LTS section

* actually adding the code coverage commands. ☕️

* removing code climate issues badge
  • Loading branch information...
1 parent b517f2e commit 62d7810a132ece9f034e74e659cd2c82f92041f1 @ekryski ekryski committed on GitHub Oct 16, 2016
Showing with 28 additions and 8 deletions.
  1. +13 −4 .travis.yml
  2. +2 −0 mocha.opts
  3. +4 −4 package.json
  4. +9 −0 readme.md
View
@@ -1,7 +1,16 @@
sudo: false
language: node_js
node_js:
- - "0.10"
- - "0.12"
- - "node"
- - "iojs"
+ - 'node'
+ - '6'
+ - '4'
+ - 'iojs' #end of life Jan. 2017
+ - '0.12' #end of life Jan. 2017
+ - '0.10' #end of life Jan. 2017
+addons:
+ code_climate:
+ repo_token: '498707228e4260677935eadfa95a35c24a9c2e9877bf05200d9c3aafb520abf6'
+before_script:
+ - npm install -g codeclimate-test-reporter
+after_script:
+ - codeclimate-test-reporter < coverage/lcov.info
View
@@ -0,0 +1,2 @@
+--recursive test/
+--compilers js:babel-core/register
View
@@ -36,9 +36,9 @@
"compile": "rm -rf lib/ && babel -d lib/ src/",
"watch": "babel --watch -d lib/ src/",
"jshint": "jshint src/. test/. --config",
- "coverage": "istanbul cover _mocha -- test/ --recursive",
- "mocha": "mocha test/ --compilers js:babel-core/register --recursive",
- "test": "npm run compile && npm run jshint && npm run mocha && nsp check"
+ "mocha": "mocha --opts mocha.opts",
+ "coverage": "istanbul cover _mocha -- --opts mocha.opts",
+ "test": "npm run compile && npm run jshint && npm run coverage && nsp check"
},
"engines": {
"node": ">= 0.10.0",
@@ -61,7 +61,7 @@
"body-parser": "^1.13.2",
"feathers-rest": "^1.1.0",
"feathers-socketio": "^1.1.0",
- "istanbul": "^0.4.0",
+ "istanbul": "^1.1.0-alpha.1",
"jshint": "^2.6.3",
"mocha": "^3.0.0",
"nsp": "^2.2.0",
View
@@ -6,6 +6,8 @@
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Code Climate](https://codeclimate.com/github/feathersjs/feathers.png)](https://codeclimate.com/github/feathersjs/feathers)
+[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers-permissions/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers/coverage)
+[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square)](https://david-dm.org/feathersjs/feathers)
[![Slack Status](http://slack.feathersjs.com/badge.svg)](http://slack.feathersjs.com)
Feathers is a real-time, micro-service web framework for NodeJS that gives you control over your data via RESTful resources, sockets and flexible plug-ins.
@@ -77,6 +79,13 @@ Each plugin has it's own minimal example in the repo. To see some more complex e
We :heart: the community and take security very seriously. No one wants their app hacked. If you have come across a security concern please [report it responsibly](http://docs.feathersjs.com/SECURITY.html#where-should-i-report-security-issues). Visit the [Security section](http://docs.feathersjs.com/SECURITY.html) of the docs to learn more about how you can make sure your app is secure.
+## Long Term Support Schedule
+
+We are going to be following along with the Node.js long term support cycle. As a result we will be dropping official support for node v0.10, v0.12, and iojs versions January 1st, 2017.
+
+We will be supporting Node.js v4 until **2018-04-01**.
+We will be supporting Node.js v6 until **2019-04-18**.
+
## License
[MIT](LICENSE)

0 comments on commit 62d7810

Please sign in to comment.