Browse Source

add .travis.yml support, add coveralls support

master
JP Richardson 11 years ago
parent
commit
ea180cc030
  1. 10
      .travis.yml
  2. 9
      README.md
  3. 12
      package.json

10
.travis.yml

@ -0,0 +1,10 @@
language: node_js
before_install:
- "npm install npm -g"
node_js:
- 0.11
- 0.10
env:
- TEST_SUITE=unit
- TEST_SUITE=coveralls
script: "npm run-script $TEST_SUITE"

9
README.md

@ -0,0 +1,9 @@
hdkey
=====
[![build status](https://secure.travis-ci.org/cryptocoinjs/hdkey.png)](http://travis-ci.org/cryptocoinjs/hdkey)
[![Coverage Status](https://img.shields.io/coveralls/cryptocoinjs/hdkey.svg)](https://coveralls.io/r/cryptocoinjs/hdkey)
A JavaScript component for [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)(hierarchical deterministic keys). **API is very unstable at the moment. Don't even think about using this.** Should stabilize within the next few days.
Thanks to the active BitcoinJS team and their hard work - some code borrowed from it.

12
package.json

@ -22,8 +22,6 @@
"deterministic",
"crypto"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/cryptocoinjs/hdkey/issues"
},
@ -31,11 +29,19 @@
"devDependencies": {
"terst": "^0.1.0",
"mocha": "^1.19.0",
"bs58": "^1.0.0"
"bs58": "^1.0.0",
"coveralls": "^2.10.0",
"mocha-lcov-reporter": "0.0.1",
"istanbul": "^0.2.10"
},
"dependencies": {
"sha512": "0.0.1",
"eckey": "^0.4.2",
"bigi": "^1.1.0"
},
"scripts": {
"unit": "./node_modules/.bin/mocha",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js",
"coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info"
}
}

Loading…
Cancel
Save