Skip to content

Commit cd3c3b4

Browse files
committed
avoid jdk_switcher on xenial [skip appveyor]
1 parent 4cbf90d commit cd3c3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ before_install:
6060
set +e
6161
- |
6262
set -e
63-
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
63+
if [[ "${TRAVIS_OS_NAME}" == "linux" && "$(lsb_release -cs)" == "trusty" ]]; then
6464
jdk_switcher use $TRAVIS_JDK_VERSION
6565
fi
6666
set +e

0 commit comments

Comments
 (0)