Skip to content

Commit

Permalink
Fix nasa#116, Add UT failures to CI log
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jul 23, 2020
1 parent 18d0d89 commit 54b8317
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ script:
- make install
# Run unit tests and generate coverage results
- make test
- |
if [[ -s build/native/Testing/Temporary/LastTestsFailed.log ]]; then
echo "You must fix unit test errors before submitting a pull request"
echo ""
cat build/native/Testing/Temporary/LastTestsFailed.log
grep "\[ FAIL\]" build/native/Testing/Temporary/LastTest.log
exit -1
fi
- make lcov
# Eventually check/enforce minimum coverage
# Make documentation
Expand Down

0 comments on commit 54b8317

Please sign in to comment.