diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..763f9f8 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 936f582..4700c9a 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/package.json b/package.json index c5d0ba5..aef8bb8 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "coverage": "istanbul cover _mocha", + "coveralls": "npm run coverage && coveralls