Skip to content

Commit

Permalink
#365 Travis script for JDK15 EA builds
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Jun 20, 2020
1 parent 3ac7f93 commit ce49b5b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@ language: java
jdk:
- openjdk8
- openjdk11
- openjdk14
- openjdk14
before_install: # Get the shell script for installing Early Access versions of the JDK.
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh -O ~/install-ea-jdk.sh && chmod +x ~/install-ea-jdk.sh
script:
- set -e
- mvn clean install -Pcheckstyle -PtestCoverage jacoco:report coveralls:report
stages:
- testEarlyAccessJDK
jobs:
include:
- stage: testEarlyAccessJDK
name: "Build with JDK 15 EA"
script:
- ~/install-ea-jdk.sh --target "/home/travis/openjdk15" --workspace "/home/travis/.cache/install-jdk" --feature "15" --license "GPL" --cacerts
- export JAVA_HOME=~/openjdk15
- export PATH="$JAVA_HOME/bin:$PATH"
- mvn clean install -Pcheckstyle -PtestCoverage jacoco:report coveralls:report

0 comments on commit ce49b5b

Please sign in to comment.