This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch optimize_travis
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/optimize_travis by this push:
new d61a9f3 use travis official openjkd11 in LinuxOS
d61a9f3 is described below
commit d61a9f3fac746fd67b788220bd66c09c0f5f2957
Author: xiangdong huang <[email protected]>
AuthorDate: Mon Apr 6 10:06:30 2020 +0800
use travis official openjkd11 in LinuxOS
---
.travis.yml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 112abb2..f9bc3c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,14 +58,8 @@ matrix:
name: linux-openjdk11
dist: xenial
sudo: required
- before_install:
- - wget
https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz
-O jdk11.tar.gz
- - tar -xzf jdk11.tar.gz
- before_script:
- - mv jdk-11.0.2 downloadJDK
- - rm -rf jdk11.tar.gz
- - export JAVA_HOME=$PWD/jdk-11.0.2/
- - export PATH=$JAVA_HOME/bin:$PATH
+ jdk:
+ - openjdk11
- os: linux
name: linux-openjdk8
dist: xenial