Skip to content

Commit 5b892a2

Browse files
authored
Merge pull request #493 from PolymathNetwork/ci-fix
Travis submit coverage
2 parents 66f331f + 055f8cb commit 5b892a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fi
9191
if [ "$COVERAGE" = true ] || [ "$TRAVIS_PULL_REQUEST" > 0 ] && [ "$NOT_FORK" != true ]; then
9292
curl -o node_modules/solidity-coverage/lib/app.js https://raw.githubusercontent.com/maxsam4/solidity-coverage/relative-path/lib/app.js
9393
node_modules/.bin/solidity-coverage
94-
if [ "$CIRCLECI" = true ]; then
94+
if [ "$CIRCLECI" = true ] || [ "$TRAVIS_PULL_REQUEST" > 0 ] && [ "$NOT_FORK" != true ]; then
9595
cat coverage/lcov.info | node_modules/.bin/coveralls || echo 'Failed to report coverage to Coveralls'
9696
fi
9797
else

0 commit comments

Comments
 (0)