Skip to content
Permalink
Browse files
supporting travis + win +jdk8
  • Loading branch information
xiaoyekanren committed Apr 22, 2019
1 parent ff3aaa9 commit 1b50cd0478e328342327d648151799c3a8b7a4a0
Showing 1 changed file with 18 additions and 3 deletions.
@@ -54,15 +54,13 @@ matrix:
- AdoptOpenJDK/openjdk
update: true
casks: adoptopenjdk-openjdk8

- 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
- 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"
@@ -72,7 +70,24 @@ matrix:
- java -version
- mvn -version
- mvn -B clean integration-test

- os: windows
language: c
name: win-oraclejdk8
before_install:
- choco install jdk8 -params 'installdir=c:\\jdk8'
- 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
before_script:
- export "JAVA_HOME=/c/jdk8"
- export "PATH=/c/jdk8/bin:$PATH"
- export "PATH=/c/jdk8/jre/bin:$PATH"
- export "MAVEN_HOME=/c/mvn361/apache-maven-3.6.1"
- export "M2_HOME=/c/mvn361/apache-maven-3.6.1"
- export "PATH=/c/mvn361/apache-maven-3.6.1/bin:$PATH"
script:
- java -version
- mvn -version
- mvn -B clean integration-test
- os: linux
name: linux-openjdk11
dist: trusty

0 comments on commit 1b50cd0

Please sign in to comment.