config: add sleep 5s before failing buid to let travis show previous output
diff --git a/.ci/travis/travis.sh b/.ci/travis/travis.sh
index d286ce8..e5d20a8 100755
--- a/.ci/travis/travis.sh
+++ b/.ci/travis/travis.sh
@@ -10,7 +10,7 @@
RESULT=$(cat output.txt | wc -c)
cat output.txt
echo 'Size of output:'$RESULT
- if [[ $RESULT != 0 ]]; then false; fi
+ if [[ $RESULT != 0 ]]; then sleep 5s; false; fi
;;
versions)
@@ -241,6 +241,7 @@
if [[ -s missed_classes_without_excludes.log ]] ; then
echo "Classes which are missed in Cobertura coverage report:"
cat missed_classes_without_excludes.log
+ sleep 5s
false
else
echo "All classes are present in Cobertura coverage report."
@@ -249,6 +250,7 @@
*)
echo "Unexpected argument: $1"
+ sleep 5s
false
;;