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:27 UTC

[incubator-iotdb] 06/09: add temp folder for download JDK

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 5e0b81926d5163bdaf787fad5602080e268e50c9
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Apr 5 13:09:29 2020 +0800

    add temp folder for download JDK
---
 .travis.yml | 2 ++
 pom.xml     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index d276656..112abb2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -62,6 +62,8 @@ matrix:
         - 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
     - os: linux
diff --git a/pom.xml b/pom.xml
index 1c4c80a..5f4eec0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -559,6 +559,8 @@
                             <exclude>LICENSE-binary</exclude>
                             <!-- json does not support comments-->
                             <exclude>**/*.json</exclude>
+                            <!-- downloadJDK is used by travis-CI only-->
+                            <exclude>downloadJDK</exclude>
                         </excludes>
                     </configuration>
                 </plugin>