You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/11/20 13:38:44 UTC

[incubator-iotdb] 01/01: switch jdk in travis from jdk8 to jdk11

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch fix_travis_windows_jdk_problem
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

View the commit online:
https://github.com/apache/incubator-iotdb/commit/36e5bbb5d8f6a30075b9869fb3506e96c61d00e5

commit 36e5bbb5d8f6a30075b9869fb3506e96c61d00e5
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Nov 20 21:38:19 2019 +0800

    switch jdk in travis from jdk8 to jdk11
---
 .travis.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2a2b2a4..7715b15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -91,9 +91,9 @@ matrix:
 
     - os: windows
       language: c
-      name: win-oraclejdk8
+      name: win-oraclejdk11
       before_install:
-        - choco install jdk8 -params 'installdir=c:\\jdk8'
+        - choco install jdk11
         - wget --no-check-certificate https://www-eu.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip
         - /C/Progra~1/7-Zip/7z.exe x apache-maven-3.6.2-bin.zip -o/c/mvn362
         - mkdir C:\hadoop\bin
@@ -120,9 +120,9 @@ matrix:
         - wget --no-check-certificate https://github.com/cdarlint/winutils/raw/master/hadoop-2.7.3/bin/yarn.cmd -o C:\hadoop\bin
 
       before_script:
-        - export "JAVA_HOME=/c/jdk8"
-        - export "PATH=/c/jdk8/bin:$PATH"
-        - export "PATH=/c/jdk8/jre/bin:$PATH"
+        #- export "JAVA_HOME=/c/jdk8"
+        #- export "PATH=/c/jdk8/bin:$PATH"
+        #- export "PATH=/c/jdk8/jre/bin:$PATH"
         - export "MAVEN_HOME=/c/mvn362/apache-maven-3.6.2"
         - export "M2_HOME=/c/mvn362/apache-maven-3.6.2"
         - export "PATH=/c/mvn362/apache-maven-3.6.2/bin:$PATH"