Skip to content

Commit 1b36bd4

Browse files
committed
workaround Travis javadoc build
1 parent 184345d commit 1b36bd4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/build_for_travis.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)[67]($|[^0-9])'; then
1515
# but Guava 21.0 is compatibility with jdk 7.
1616
COMMON_FLAGS="$COMMON_FLAGS -Dguava.version=20.0"
1717
fi
18-
if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)9($|[^0-9])'; then
19-
;
20-
else
18+
if ! echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)9($|[^0-9])'; then
2119
# Older versions of javadoc barf on -Xdoclint flags used
2220
# to configure the maven-javadoc-plugin.
2321
# TODO: Newer versions barf on modules for some reason.

0 commit comments

Comments
 (0)