aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Ivanov <ivanov-jr@mail.ru>2017-12-14 17:49:12 -0800
committerRoman Ivanov <ivanov-jr@mail.ru>2017-12-14 17:49:12 -0800
commit62d4be222ed3e5424f833c90a7f480fc12bbeab4 (patch)
tree57f5fff5b9db6db0db2c4946dbc50b96f6590007
parenta8574be0e559b327840acb81d7e0ed79e1331a31 (diff)
downloadcheckstyle-62d4be222ed3e5424f833c90a7f480fc12bbeab4.tar.gz
config: add sleep 5s before failing buid to let travis show previous output
-rwxr-xr-x.ci/travis/travis.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.ci/travis/travis.sh b/.ci/travis/travis.sh
index d286ce80b..e5d20a8a7 100755
--- a/.ci/travis/travis.sh
+++ b/.ci/travis/travis.sh
@@ -10,7 +10,7 @@ nondex)
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 @@ cobertura-check)
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 @@ cobertura-check)
*)
echo "Unexpected argument: $1"
+ sleep 5s
false
;;