Skip to content

Commit

Permalink
Support more node targets and coveralls in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Mar 26, 2016
1 parent 03f4562 commit 03a087c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- "0.11"
- "0.12"
- "4"
- "5"
env:
Expand All @@ -10,3 +12,16 @@ addons:
- 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SYNOPSIS
[![NPM Package](https://img.shields.io/npm/v/ethashjs.svg?style=flat-square)](https://www.npmjs.org/package/ethashjs)
[![Build Status](https://travis-ci.org/ethereumjs/ethashjs.svg?branch=master&style=flat-square)](https://travis-ci.org/ethereumjs/ethashjs)
[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethashjs.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethashjs)
[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode

Implements [Ethash](https://github.com/ethereum/wiki/wiki/Ethash)
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"scripts": {
"coverage": "istanbul cover ./tests/",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"lint": "standard",
"test": "node ./tests/"
},
Expand All @@ -33,6 +34,7 @@
"miller-rabin": "^4.0.0"
},
"devDependencies": {
"coveralls": "^2.11.4",
"ethereumjs-block": "^1.2.2",
"ethereumjs-testing": "0.0.1",
"istanbul": "^0.4.1",
Expand Down

0 comments on commit 03a087c

Please sign in to comment.