mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 09:13:27 +00:00
Configure Travis to build on JDK8 and JDK11
This commit is contained in:
1 parent
90ea4506ca
commit
795b6be17d
1 file changed
+3
-8
+3
-8
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user