Skip to content

Commit

Permalink
Merge pull request #117 from skliper/fix116-report-ut-failure-ci
Browse files Browse the repository at this point in the history
Fix #116, Add UT failures to CI log
  • Loading branch information
astrogeco authored Aug 4, 2020
2 parents 3979c74 + 54b8317 commit 9def019
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 9def019

Please sign in to comment.