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/04/20 03:55:25 UTC
[incubator-iotdb] branch master updated: update travis for
supporinting JDK on Win
This is an automated email from the ASF dual-hosted git repository.
hxd 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 ff3aaa9 update travis for supporinting JDK on Win
new 4c8db59 Merge pull request #160 from xiaoyekanren/travis_jdk11_win
ff3aaa9 is described below
commit ff3aaa937448b84c4968a0a17c052604256abbc2
Author: 张正明 <87...@qq.com>
AuthorDate: Sat Apr 20 01:12:23 2019 +0800
update travis for supporinting JDK on Win
---
.travis.yml | 39 +++++++++++++--------------------------
1 file changed, 13 insertions(+), 26 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 9b48b79..077d8ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -54,38 +54,25 @@ matrix:
- AdoptOpenJDK/openjdk
update: true
casks: adoptopenjdk-openjdk8
+
- os: windows
language: c
- name: win-oraclejdk8
+ name: win-oraclejdk11
install:
- - choco install jdk8 -params 'installdir=c:\\java8'
- - export PATH=$PATH:"/c/java8/bin"
- - export JAVA_HOME="/c/java8"
- - choco install maven
+ - choco install jdk11 -params 'installdir=c:\\java11'
+ - export PATH=$PATH:"/c/java11/bin"
+ - export JAVA_HOME="/c/java11"
+# - choco install maven
+ - wget https://www-eu.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.zip
+ - /C/Progra~1/7-Zip/7z.exe x apache-maven-3.6.1-bin.zip -o/c/mvn361
+ - export "MAVEN_HOME=/c/mvn361/apache-maven-3.6.1"
+ - export "M2_HOME=/c/mvn361/apache-maven-3.6.1"
+ - export "PATH=$MAVEN_HOME/bin:$PATH"
script:
- java -version
+ - mvn -version
- mvn -B clean integration-test
-# - os: windows
-# language: c
-# name: win-oraclejdk11
-# install:
-# - choco install jdk11 -params 'installdir=c:\\java11'
-# - export PATH=$PATH:"/c/java11/bin"
-# - export JAVA_HOME="/c/java11"
-# - choco install maven
-# script:
-# - java -version
-# - mvn -B clean integration-test
- #choco does not support openjdk8. we have to install it manually
-# - os: windows
-# language: c
-# name: win-openjdk11
-# install:
-# #for openjdk, -params does not work.
-# - choco install openjdk
-# - export PATH=$PATH:"C:\Program Files\OpenJDK\bin"
-# - export JAVA_HOME="C:\Program Files\OpenJDK"
-# - choco install maven
+
- os: linux
name: linux-openjdk11
dist: trusty