Skip to content

Commit

Permalink
Merge pull request #270 from ethereumjs/coveralls
Browse files Browse the repository at this point in the history
 Run coveralls on travis
  • Loading branch information
holgerd77 committed Feb 7, 2018
2 parents f0abd93 + c89657c commit 8de73f9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ matrix:
- os: linux
node_js: "6"
env: CXX=g++-4.8 TEST_SUITE=lint
- os: linux
node_js: "6"
env: CXX=g++-4.8 TEST_SUITE=coveralls
- os: linux
node_js: "6"
env: CXX=g++-4.8 TEST_SUITE=testState
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![NPM Package](https://img.shields.io/npm/v/ethereumjs-vm.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-vm)
[![Build Status](https://img.shields.io/travis/ethereumjs/ethereumjs-vm.svg?branch=master&style=flat-square)](https://travis-ci.org/ethereumjs/ethereumjs-vm)
[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-vm.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-vm)
[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"devDependencies": {
"babel-preset-es2015": "^6.24.0",
"babelify": "^7.3.0",
"coveralls": "^3.0.0",
"ethereumjs-blockchain": "~2.1.0",
"ethereumjs-testing": "https://github.com/ethereumjs/ethereumjs-testing",
"ethereumjs-tx": "1.3.3",
"istanbul": "^0.4.5",
"level": "^1.4.0",
"leveldown": "^1.4.6",
"levelup": "^1.3.2",
Expand Down Expand Up @@ -51,7 +53,9 @@
"testBlockchainValid": "node --stack-size=1500 ./tests/tester -b --dir='bcValidBlockTest'",
"testBlockchainTotalDifficulty": "node --stack-size=1500 ./tests/tester -b --dir='bcTotalDifficultyTest'",
"lint": "standard",
"test": "node ./tests/tester -a"
"test": "node ./tests/tester -a",
"coverage": "istanbul cover ./tests/tester.js -- -s",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions tests/tester.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

const argv = require('minimist')(process.argv.slice(2))
const async = require('async')
const tape = require('tape')
Expand Down

0 comments on commit 8de73f9

Please sign in to comment.