aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Ivanov <ivanov-jr@mail.ru>2017-12-20 21:21:06 -0800
committerRoman Ivanov <ivanov-jr@mail.ru>2017-12-20 21:21:06 -0800
commita383e5127c35f62c38788ff685b2fcd22c65985e (patch)
treef5d701bed35f6637d77cd9ab1d1ccfacab06dc08
parent76373c3239084cce5b39394d18a2fba2f1d1241f (diff)
downloadcheckstyle-a383e5127c35f62c38788ff685b2fcd22c65985e.tar.gz
config: sleep 5s before false to let travis print output
-rwxr-xr-x.ci/travis/travis.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/travis/travis.sh b/.ci/travis/travis.sh
index cf107e0f6..ab477f27a 100755
--- a/.ci/travis/travis.sh
+++ b/.ci/travis/travis.sh
@@ -225,7 +225,8 @@ cobertura-check)
grep -R "<td class=\"nbHitsUncovered\"" target/site/cobertura/* --exclude=*grammars* | cat > mvn-log-grep.log
cat mvn-log-grep.log
if [[ $(cat mvn-log-grep.log | wc -l) -gt 0 ]]; then
- exit 1
+ sleep 5s
+ false
fi
echo "Checking that all classes are covered:"
xmlstarlet sel -t -m "//class" -v "@name" -n target/site/cobertura/coverage.xml | sed "s/\./\//g" | sed "/^$/d" | sort | uniq > cobertura_classes.log