[travis test] setup coveralls config + update README badges

This commit is contained in:
AdrieanKhisbe 2015-12-03 08:14:24 +01:00
parent c8dbede0ca
commit c242f777a6
3 changed files with 8 additions and 2 deletions

View file

@ -16,6 +16,10 @@ before_install:
script: script:
- npm test - npm test
after_script:
- npm run cover
- npm run coveralls
matrix: matrix:
allow_failures: allow_failures:
- node_js: "0.10" - node_js: "0.10"

View file

@ -1,6 +1,6 @@
# nconf # nconf
[![Version npm](https://img.shields.io/npm/v/nconf.svg?style=flat-square)](https://www.npmjs.com/package/nconf)[![npm Downloads](https://img.shields.io/npm/dm/nconf.svg?style=flat-square)](https://www.npmjs.com/package/nconf)[![Build Status](https://img.shields.io/travis/indexzero/nconf/master.svg?style=flat-square)](https://travis-ci.org/indexzero/nconf)[![Dependencies](https://img.shields.io/david/indexzero/nconf.svg?style=flat-square)](https://david-dm.org/indexzero/nconf) [![Version npm](https://img.shields.io/npm/v/nconf.svg?style=flat-square)](https://www.npmjs.com/package/nconf)[![npm Downloads](https://img.shields.io/npm/dm/nconf.svg?style=flat-square)](https://www.npmjs.com/package/nconf)[![Build Status](https://img.shields.io/travis/indexzero/nconf/master.svg?style=flat-square)](https://travis-ci.org/indexzero/nconf)[![Coverage](https://img.shields.io/coveralls/indexzero/nconf.svg?style=flat-square)](https://coveralls.io/github/indexzero/nconf)[![Dependencies](https://img.shields.io/david/indexzero/nconf.svg?style=flat-square)](https://david-dm.org/indexzero/nconf)
Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging. Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.

View file

@ -18,13 +18,15 @@
"yargs": "^3.19.0" "yargs": "^3.19.0"
}, },
"devDependencies": { "devDependencies": {
"coveralls": "^2.11.4",
"istanbul": "^0.4.1", "istanbul": "^0.4.1",
"vows": "0.8.x" "vows": "0.8.x"
}, },
"main": "./lib/nconf", "main": "./lib/nconf",
"scripts": { "scripts": {
"test": "vows test/*-test.js test/**/*-test.js --spec", "test": "vows test/*-test.js test/**/*-test.js --spec",
"cover": "istanbul cover vows -- test/*-test.js test/**/*-test.js --spec" "cover": "istanbul cover vows -- test/*-test.js test/**/*-test.js --spec",
"coveralls": "cat coverage/lcov.info | coveralls"
}, },
"engines": { "engines": {
"node": ">= 0.4.0" "node": ">= 0.4.0"