8000 travis-javadoc.sh: reduce quantity of output · hadim/scijava-scripts@9fb63d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9fb63d8

Browse files
committed
travis-javadoc.sh: reduce quantity of output
The logging output is nice for debugging, but for some projects (e.g. fiji/fiji-javadoc) this ends up going over the Travis logging limit: The log length has exceeded the limit of 4 MB ... The job has been terminated
1 parent 6b2328c commit 9fb63d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

travis-javadoc.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ then
1313
openssl_iv=$3
1414

1515
# Emit some details useful for debugging.
16-
mvn dependency:tree &&
16+
# NB: We run once with -q to suppress the download messages,
17+
# then again without it to emit the desired dependency tree.
18+
mvn -B -q dependency:tree &&
19+
mvn -B dependency:tree &&
1720

1821
# Build the javadocs.
19-
mvn -Dadditionalparam=-Xdoclint:none -Pbuild-javadoc &&
22+
mvn -B -q -Dadditionalparam=-Xdoclint:none -Pbuild-javadoc &&
2023
test -d target/apidocs &&
2124
# Strip out date stamps, to avoid spurious changes being committed.
2225
sed -i'' -e '/\(<!-- Generated by javadoc \|<meta name="date" \)/d' $(find target/apidocs -name '*.html') &&

0 commit comments

Comments
 (0)
0