Skip to content

Commit

Permalink
Merge pull request #525 from PolymathNetwork/ignore-coveralls-failure
Browse files Browse the repository at this point in the history
Allow coveralls reporting to fail
  • Loading branch information
maxsam4 authored Jan 15, 2019
2 parents cd4a7f9 + bfeab58 commit 49f6a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if [ "$COVERAGE" = true ]; then
curl -o node_modules/solidity-parser-sc/build/parser.js https://raw.githubusercontent.com/maxsam4/solidity-parser/solidity-0.5/build/parser.js
node_modules/.bin/solidity-coverage
if [ "$CIRCLECI" = true ]; then
cat coverage/lcov.info | node_modules/.bin/coveralls
cat coverage/lcov.info | node_modules/.bin/coveralls || echo 'Failed to report coverage to Coveralls'
fi
else
if [ "$CIRCLECI" = true ]; then # using mocha junit reporter for parallelism in CircleCI
Expand All @@ -110,4 +110,4 @@ else
else
node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js`
fi
fi
fi

0 comments on commit 49f6a10

Please sign in to comment.