Commit 2eded7a3 by Manuel Aráoz Committed by GitHub

Merge pull request #237 from maraoz/coveralls

Add coveralls
parents e1eed257 41a6f1cd
repo_token: AelGMv47LJ85e3KF1PhYBsjyduSjDmP0h
...@@ -10,3 +10,5 @@ before_install: ...@@ -10,3 +10,5 @@ before_install:
script: script:
- testrpc > /dev/null & - testrpc > /dev/null &
- truffle test - truffle test
after_script:
- npm run coveralls
# Zeppelin Solidity # Zeppelin Solidity
[![NPM Package](https://img.shields.io/npm/v/zeppelin-solidity.svg?style=flat-square)](https://www.npmjs.org/package/zeppelin-solidity) [![NPM Package](https://img.shields.io/npm/v/zeppelin-solidity.svg?style=flat-square)](https://www.npmjs.org/package/zeppelin-solidity)
[![Build Status](https://img.shields.io/travis/OpenZeppelin/zeppelin-solidity.svg?branch=master&style=flat-square)](https://travis-ci.org/OpenZeppelin/zeppelin-solidity) [![Build Status](https://img.shields.io/travis/OpenZeppelin/zeppelin-solidity.svg?branch=master&style=flat-square)](https://travis-ci.org/OpenZeppelin/zeppelin-solidity)
[![Coverage Status](https://coveralls.io/repos/github/OpenZeppelin/zeppelin-solidity/badge.svg?branch=coveralls)](https://coveralls.io/github/OpenZeppelin/zeppelin-solidity?branch=coveralls)
OpenZeppelin is a library for writing secure [Smart Contracts](https://en.wikipedia.org/wiki/Smart_contract) on Ethereum. OpenZeppelin is a library for writing secure [Smart Contracts](https://en.wikipedia.org/wiki/Smart_contract) on Ethereum.
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"test": "scripts/test.sh", "test": "scripts/test.sh",
"console": "truffle console", "console": "truffle console",
"install": "scripts/install.sh", "install": "scripts/install.sh",
"coverage": "scripts/coverage.sh" "coverage": "scripts/coverage.sh",
"coveralls": "scripts/coveralls.sh"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
...@@ -35,7 +36,9 @@ ...@@ -35,7 +36,9 @@
"babel-preset-stage-2": "^6.18.0", "babel-preset-stage-2": "^6.18.0",
"babel-preset-stage-3": "^6.17.0", "babel-preset-stage-3": "^6.17.0",
"babel-register": "^6.23.0", "babel-register": "^6.23.0",
"coveralls": "^2.13.1",
"ethereumjs-testrpc": "^3.0.2", "ethereumjs-testrpc": "^3.0.2",
"mocha-lcov-reporter": "^1.3.0",
"solidity-coverage": "^0.1.0", "solidity-coverage": "^0.1.0",
"truffle": "https://github.com/ConsenSys/truffle.git#3.1.9" "truffle": "https://github.com/ConsenSys/truffle.git#3.1.9"
} }
......
#! /bin/bash
npm run coverage && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment