Skip to content

Commit

Permalink
Make ci.sh exit immediately on error, increase geth timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Oct 16, 2019
1 parent ba56fc6 commit ff16b1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# Travis CI matrix job selector
# -----------------------------

# Exit immediately on error
set -o errexit

if [ "$TEST" = "unit" ]; then

npm run build
Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e.geth.automine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ geth-dev-assistant --period 2 --accounts 1 --tag 'stable'
istanbul cover _mocha -- \
--reporter spec \
--grep 'E2E' \
--timeout 10000 \
--timeout 15000 \
--exit

# Copy cov for this run to a temp file we can combine later and send to coveralls
Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e.geth.instamine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ geth-dev-assistant --accounts 1 --tag 'stable'
GETH_INSTAMINE=true istanbul cover _mocha -- \
--reporter spec \
--grep 'E2E' \
--timeout 10000 \
--timeout 15000 \
--exit

# Copy cov for this run to a temp file we can combine later and send to coveralls
Expand Down

0 comments on commit ff16b1b

Please sign in to comment.