提交 16c66a88 编写于 作者: M Mathieu Bastian

Update travis to use OpenJDK 11

上级 a66f2197
...@@ -2,7 +2,7 @@ language: java ...@@ -2,7 +2,7 @@ language: java
matrix: matrix:
include: include:
- os: linux - os: linux
jdk: openjdk8 jdk: openjdk11
- os: osx - os: osx
osx_image: xcode12.5 osx_image: xcode12.5
branches: branches:
...@@ -19,7 +19,7 @@ addons: ...@@ -19,7 +19,7 @@ addons:
- liblzma-dev - liblzma-dev
homebrew: homebrew:
taps: homebrew/cask-versions taps: homebrew/cask-versions
casks: temurin8 casks: temurin11
packages: packages:
- gnupg@1.4 - gnupg@1.4
...@@ -29,7 +29,7 @@ cache: ...@@ -29,7 +29,7 @@ cache:
before_install: before_install:
# Fix java home path issue on osx # Fix java home path issue on osx
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home;fi - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home;fi
# Build & install innoextract # Build & install innoextract
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then git clone --branch 1.6 --single-branch https://github.com/dscharrer/innoextract.git;fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then git clone --branch 1.6 --single-branch https://github.com/dscharrer/innoextract.git;fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册