Skip to content

Commit

Permalink
MINT-1637 Update shared libs #comment Add solidity coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksei Hiatsevich committed Jun 28, 2018
1 parent a77b96a commit 6a9c047
Show file tree
Hide file tree
Showing 6 changed files with 424 additions and 19 deletions.
7 changes: 7 additions & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
copyNodeModules: true,
skipFiles: [
'Migrations.sol',
'helpers/StubStorageManager.sol'
]
}
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
sudo: false
sudo: required
dist: trusty
language: node_js
node_js: 8
node_js:
- '9'
before_install:
- export PATH=$PATH:$(pwd)/node_modules/.bin
- export NODE_OPTIONS="--max_old_space_size=4096"
- export PATH=$PATH:$(pwd)/node_modules/.bin
install:
- npm install
script:
- ganache-cli -g 1 > /dev/null &
- truffle migrate
- truffle test --clear
- npm test
before_script:
- ganache-cli > /dev/null &
- sleep 5
after_script:
- travis_wait 30 npm run coverage && cat coverage/lcov.info | coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# solidity-roles-lib
# solidity-roles-lib [![Build Status](https://travis-ci.org/ChronoBank/solidity-roles-lib.svg?branch=master)](https://travis-ci.org/ChronoBank/solidity-roles-lib) [![Coverage Status](https://coveralls.io/repos/github/ChronoBank/solidity-roles-lib/badge.svg?branch=master)](https://coveralls.io/github/ChronoBank/solidity-roles-lib?branch=master)
File renamed without changes.
Loading

0 comments on commit 6a9c047

Please sign in to comment.