Skip to content

Commit bc5ff60

Browse files
authored
Travis need to sleep in toder to display the errors message output (#143)
1 parent c83b875 commit bc5ff60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ script:
7777
if [ "$RESULT_OUTPUT" == "no modified files to format" ] || [ "$RESULT_OUTPUT" == "clang-format did not modify any files" ] ; then
7878
exit 0;
7979
else
80+
echo -e "\tgit-clang-format-7 --commit $BASE_COMMIT --diff --binary $(which clang-format-7)"
8081
echo "$RESULT_OUTPUT";
82+
sleep 5;
8183
exit 1;
8284
fi
8385
fi

0 commit comments

Comments
 (0)