You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/12/01 00:25:51 UTC
[incubator-iotdb] branch master updated: Fix Travis CI for WinOS +
OpenJDK11 (#605)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 5e7bff4 Fix Travis CI for WinOS + OpenJDK11 (#605)
5e7bff4 is described below
commit 5e7bff42d705ced42cac9e276df4365e49f79031
Author: Xiangdong Huang <hx...@qq.com>
AuthorDate: Sun Dec 1 08:25:42 2019 +0800
Fix Travis CI for WinOS + OpenJDK11 (#605)
* update travis jdk in windows
---
.travis.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 72deeda..c87559e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -93,9 +93,12 @@ matrix:
language: c
name: win-openjdk11
before_install:
- - choco install openjdk11 --version=11.0.4.111 -y
+ # - choco install openjdk11 --version=11.0.2.01 -y
+ # can get the download links from https://jdk.java.net/archive/
+ - wget --no-check-certificate https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_windows-x64_bin.zip
- 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
+ - /C/Progra~1/7-Zip/7z.exe x openjdk-11.0.2_windows-x64_bin.zip -o/c/java
- mkdir C:\hadoop\bin
- wget --no-check-certificate https://github.com/cdarlint/winutils/raw/master/hadoop-2.7.3/bin/winutils.exe -o C:\hadoop\bin
- wget --no-check-certificate https://github.com/cdarlint/winutils/raw/master/hadoop-2.7.3/bin/hadoop.dll -o C:\windows\system32
@@ -120,7 +123,7 @@ 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/Program Files/OpenJDK/openjdk-11u-11.0.4_11"
+ - export "JAVA_HOME=/c/java/jdk-11.0.2"
- export "PATH=$JAVA_HOME/bin:$PATH"
- export "PATH=$JAVA_HOME/jre/bin:$PATH"
- export "MAVEN_HOME=/c/mvn362/apache-maven-3.6.2"