Configure Travis to build on JDK8 and JDK11

This commit is contained in:
Ilkka Seppälä 2019-10-11 19:28:50 +03:00
parent 90ea4506ca
commit 795b6be17d

View File

@ -1,7 +1,8 @@
language: java language: java
dist: trusty # Xenial build environment won't allow installation of Java 8 dist: xenial
jdk: jdk:
- oraclejdk8 - openjdk8
- openjdk11
env: env:
global: global:
@ -21,12 +22,6 @@ after_success:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
- bash update-ghpages.sh - bash update-ghpages.sh
# use latest java version available instead of travis default
addons:
apt:
packages:
- oracle-java8-installer
notifications: notifications:
email: email:
- iluwatar@gmail.com - iluwatar@gmail.com