Commit c74371ab authored by Daniel Le Berre's avatar Daniel Le Berre

make tests running on both java 7 and java 8 environments

parent f80c4e94
Pipeline #230 failed with stage
in 11 minutes and 39 seconds
image: maven:3.3.9-jdk-8
variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
......@@ -13,7 +12,8 @@ cache:
paths:
- .m2/repository
mybuild:
java8:
image: maven:3.3.9-jdk-8
stage: build
script:
- mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent --settings settings.xml deploy -Dmaven.test.failure.ignore=true
......@@ -22,3 +22,9 @@ mybuild:
paths:
- org.*/target/*.jar
expire_in: 4 weeks
java7:
image: maven:3.3.9-jdk-7
stage: build
script:
- mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent --settings settings.xml deploy -Dmaven.test.failure.ignore=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment