diff options
author | Roman Ivanov <ivanov-jr@mail.ru> | 2017-12-21 09:21:38 -0800 |
---|---|---|
committer | Roman Ivanov <ivanov-jr@mail.ru> | 2017-12-21 09:21:38 -0800 |
commit | 534460ef95de0130ddce68014c5ae548ec4dd6f7 (patch) | |
tree | 97baaa08fe917c3c0f0435b673c7a53dfbb59a65 | |
parent | 2cf9a0d2d71803a9ff2a94680302aaf1897d0e67 (diff) | |
download | checkstyle-534460ef95de0130ddce68014c5ae548ec4dd6f7.tar.gz |
config: extending output to see why travis cut output
-rwxr-xr-x | .ci/travis/travis.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/travis/travis.sh b/.ci/travis/travis.sh index ab477f27a..0765c9789 100755 --- a/.ci/travis/travis.sh +++ b/.ci/travis/travis.sh @@ -218,7 +218,9 @@ no-exception-test-alot-of-project1) cobertura-check) set +e - mvn clean compile cobertura:cobertura cobertura:check -DargLine='-Xms1024m -Xmx2048m' > mvn-log.log + echo "Output and Error output will be redirected to mvn-log.log file ..." + mvn clean compile cobertura:cobertura cobertura:check -DargLine='-Xms1024m -Xmx2048m' &> mvn-log.log + echo "Printing mvn-log.log file:" cat mvn-log.log set -e echo "Grep for hidden errors (due to quiet=true mode in pom.xml):" @@ -237,7 +239,7 @@ cobertura-check) sed -i'' "s/com\/puppycrawl\/tools\/checkstyle\/gui\/BaseCellEditor/\ncom\/puppycrawl\/tools\/checkstyle\/gui\/BaseCellEditor/" cobertura_excluded_classes.log grep -Fxvf cobertura_classes.log target_classes.log > missed_classes_with_excludes.log grep -Fvf cobertura_excluded_classes.log missed_classes_with_excludes.log > missed_classes_without_excludes.log | cat > output.log - echo "output.log" + echo "output.log content:" cat output.log if [[ -s missed_classes_without_excludes.log ]] ; then |