Add travis/coveralls support

This commit is contained in:
Alex Beregszaszi 2016-03-26 18:20:53 +00:00
parent e5fe7716a3
commit a317c50d01
3 changed files with 34 additions and 0 deletions

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
language: node_js
node_js:
- "0.11"
- "0.12"
- "4"
- "5"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
matrix:
- CXX=g++-4.8 TEST_SUITE=test
matrix:
fast_finish: true
include:
- os: linux
node_js: "4"
env: CXX=g++-4.8 TEST_SUITE=coveralls
- os: linux
node_js: "4"
env: CXX=g++-4.8 TEST_SUITE=lint
script: npm run $TEST_SUITE

View File

@ -1,5 +1,10 @@
# ethereumjs-wallet
[![NPM Package](https://img.shields.io/npm/v/ethereumjs-wallet.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-wallet)
[![Build Status](https://img.shields.io/travis/ethereumjs/ethereumjs-wallet.svg?branch=master&style=flat-square)](https://travis-ci.org/ethereumjs/ethereumjs-wallet)
[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-wallet.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-wallet)
[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode
A lightweight wallet implementation. At the moment it supports key creation and conversion between various formats.
It is complemented by the following packages:

View File

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"coverage": "istanbul cover _mocha",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"lint": "standard",
"prepublish": "npm run lint && npm run test",
"test": "mocha ./test/**/*.js"
@ -35,6 +36,7 @@
"utf8": "^2.1.1"
},
"devDependencies": {
"coveralls": "^2.11.4",
"istanbul": "^0.4.1",
"mocha": "^2.3.4",
"standard": "^5.4.1"