Skip to content

Commit 54b8317

Browse files
committed
Fix nasa#116, Add UT failures to CI log
1 parent 18d0d89 commit 54b8317

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ script:
7171
- make install
7272
# Run unit tests and generate coverage results
7373
- make test
74+
- |
75+
if [[ -s build/native/Testing/Temporary/LastTestsFailed.log ]]; then
76+
echo "You must fix unit test errors before submitting a pull request"
77+
echo ""
78+
cat build/native/Testing/Temporary/LastTestsFailed.log
79+
grep "\[ FAIL\]" build/native/Testing/Temporary/LastTest.log
80+
exit -1
81+
fi
7482
- make lcov
7583
# Eventually check/enforce minimum coverage
7684
# Make documentation

0 commit comments

Comments
 (0)