Skip to content

Commit

Permalink
openjdk7 test is build with openjdk11 because of the plugin from biz.…
Browse files Browse the repository at this point in the history
…aQute.bnd
  • Loading branch information
Fabrice Bacchella committed Nov 3, 2018
1 parent 19d02bd commit 048de5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,6 @@ sudo: false
services:
- mongodb
jdk:
- openjdk7
- openjdk11
cache:
directories:
Expand Down Expand Up @@ -34,3 +33,8 @@ matrix:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar deploy --settings deploy-settings.xml
on:
branch: master
# Target openjdk7 needs to be build with opendjk11 because of bnd-maven-plugin
- name: "openjdk7"
jdk: openjdk11
script:
- mvn clean verify site -Dmaven.test.skip=true -Djdk.home=/usr/lib/jvm/java-7-openjdk-amd64 && JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 mvn test -Dmaven.main.skip -Djdk.home=/usr/lib/jvm/java-7-openjdk-amd64

0 comments on commit 048de5c

Please sign in to comment.