Skip to content

Commit 795b6be

Browse files
committed
Configure Travis to build on JDK8 and JDK11
1 parent 90ea450 commit 795b6be

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: java
2-
dist: trusty # Xenial build environment won't allow installation of Java 8
2+
dist: xenial
33
jdk:
4-
- oraclejdk8
4+
- openjdk8
5+
- openjdk11
56

67
env:
78
global:
@@ -21,12 +22,6 @@ after_success:
2122
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
2223
- bash update-ghpages.sh
2324

24-
# use latest java version available instead of travis default
25-
addons:
26-
apt:
27-
packages:
28-
- oracle-java8-installer
29-
3025
notifications:
3126
email:
3227
- iluwatar@gmail.com

0 commit comments

Comments
 (0)