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 2020/04/06 12:45:28 UTC
[incubator-iotdb] 07/09: use travis official openjkd11 in LinuxOS
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
commit ff177c9ac3fcb0b786be9c2462ce70de543c215a
Author: xiangdong huang <sa...@gmail.com>
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