Skip to content

Commit 607867e

Browse files
committed
build: fix test failures not failing Travis builds
The exit code of the make command used to execute tests was being lost after being piped through to grep.
1 parent 56354d4 commit 607867e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ jobs:
6565
- make -j2 > /dev/null
6666
- make -j1 build-addons build-js-native-api-tests build-node-api-tests > /dev/null
6767
script:
68+
- set -o pipefail
6869
- JOBS=2 FLAKY_TESTS=dontcare make -s -j1 V= test-ci | grep -F -e "---" -e "..." -v

0 commit comments

Comments
 (0)